Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi Purdue,
Glad that it finally worked for you. To save groups to custom table, treat it like a normal text field. And ignore all the sub-fields in the group as they will be serialized and store in one column in the DB (the column of the group).
If you find any trouble, please let me know.
Anh Tran
KeymasterHi Austin,
Thanks for your suggestion. I've just updated the plugin with that improvement.
Cheers
October 6, 2018 at 8:53 AM in reply to: ✅Adding a Group causes an warning: Argument #2 should be an array #11553Anh Tran
KeymasterHi, I've just updated the plugin. Please check it.
Thanks
October 5, 2018 at 9:29 AM in reply to: ✅Adding a Group causes an warning: Argument #2 should be an array #11546Anh Tran
KeymasterHi Purdue,
Thanks a lot for bug reporting. I can replicate the bug in the MB Builder (it's a bug in the Builder, not in the Group extension). I'll fix and release a new version soon.
Anh Tran
KeymasterThanks!
I've just updated select2 to the latest stable version 4.0.5. Would you mind give me more details on the bug, so I can check it to prevent it from happening in the future? I've just checked with the
select_advanceanddatefield and don't see any problem.Anh Tran
KeymasterHi,
The marker is Google's default and there's no settings for it in the back end yet. But in the front end, you can set the marker icon via
marker_iconparameter.Anh Tran
KeymasterHi,
I've just tried your code and it works for me. Here is my screenshot:
https://imgur.elightup.com/JdbBHX7.png
I think the problem might come from another part that has JavaScript error. Any JS error can breaks the execution of other JS, which might include the JS for the editors. Can you add these lines to
wp-config.phpand see what's in the console:define( 'WP_DEBUG', true ); define( 'SCRIPT_DEBUG', true ); define( 'CONCATENATE_SCRIPTS', false );October 4, 2018 at 4:51 PM in reply to: ✅Adding a Group causes an warning: Argument #2 should be an array #11533Anh Tran
KeymasterHi Purdue,
I guess the problem comes from the group settings. Please share the code of the meta box for debugging.
Anh Tran
KeymasterYes, please use:
MB_Custom_Table_Cache::get( $object_id, $table_name )It returns an array of key => value.
Anh Tran
KeymasterHi Cristian,
It's a PHP syntax that available in PHP 5.4. I think you're using an out-dated version of PHP (5.3 maybe). Let me try to fix and release a new version.
PS: New version is now available for download.
Anh Tran
KeymasterHi Ben,
I see you marked the topic as resolved. Did you figure it out?
Anh Tran
KeymasterHi Todd,
I've just checked and found a bug in the core plugin. Would you mind download the latest version on Github?
Thanks for the bug report!
Anh Tran
KeymasterHi Burak,
Seems like we haven't added support for JSON notation for query arguments. But the dot notation works. Please try to setup like this:
https://imgur.elightup.com/Nes8Qgr.png
Details about dot notation can be found in the documentation.
Anh Tran
KeymasterHi Max,
1) When we work on admin column for relationship at first, we thought it's a single relationship column, so we use singular form. The Admin Columns extension was made for multiple fields, so it's plural.
2) For relationships: it's not supported. Because the relationships are list of connections and will be unclear when we put something like sorting, search for those connections.
Anh Tran
KeymasterJust fixed it on your website and on Github. It's a bug caused by a previous commit for
post_type=any.Thanks for letting me know the bug!
-
AuthorPosts