Forum Replies Created
-
AuthorPosts
-
Julien
ParticipantIt's seems to be fixed.
Thank you ๐
Julien
ParticipantI made more test on a fresh install, the problem occured when field date is on "group".
$meta_boxes[] = array( 'title' => 'Hello World', 'post_types' => array( 'post', 'page' ), 'fields' => array( array( 'id' => 'my_group', // 'name' => 'My Group', 'type' => 'group', 'clone' => true, 'sort_clone' => true, 'fields' => [ array( 'name' => 'My Date', 'id' => 'my_date', 'type' => 'date', 'timestamp' => true, ), ] ), ) );Julien
ParticipantHello,
I debug a little "more" with a functional version, it doesn't work when I update meta box and meta box aio.
No error on console.
The meta are in custom post type "product" of Woocommerce plugin.
Julien
ParticipantHello,
thank you for your following, I will try these next days ๐
Julien
ParticipantGood news.
Thank you
Julien
ParticipantI found something.
If I comment the line 21 on /plugins/meta-box-aio/meta-box-aio.php (session_start()) I have health 100% again.
I don't know why
Edit: I found this topic on wordpress.org
https://wordpress.org/support/topic/plugin-is-causing-site-health-check-errors/
If I do
session_start([ 'read_and_close' => true, ]);The problem gone. I don't know if it's a real fix.
Julien
ParticipantWhy I have this error if I have an up to date version of Meta Box AIO ?

Julien
ParticipantSometimes I have these errors on admin
<b>Notice</b>: Trying to get property 'plugin' of non-object in <b>/meta-box-aio/vendor/meta-box/meta-box-updater/class-mb-updater.php</b> on line <b>126</b><br /> <b>Notice</b>: Trying to get property 'plugin' of non-object in <b>/meta-box-aio/vendor/meta-box/meta-box-updater/class-mb-updater.php</b> on line <b>126</b><br />Julien
ParticipantHi Anh,
I understand if it can't work I can accept it ๐
For the custom callback, it's a bug or not ? I miss something ?
Julien
ParticipantI tried to make a custom callback but it's seems doesn't work too.
'visible' => array("my_custom_callback()", true),and JS
console.log('my custom callback init'); function my_custom_callback(){ console.log('my custom callback test!'); return false; }In console I can see "My custom callback init" but never "my custom callback test!" and the element with the visible option is always visible.
Something broked with conditionnal logic ? :s
I found a fix in "conditional-logic.js" in the plugin folder.
Line 234 to 236
if ( ! dependentFieldSelector ) { // return; }If I comment line 235, my condition work.
November 7, 2018 at 4:32 PM in reply to: โ Field type Taxonomy doesn't save choice if other fields are empty #11875Julien
Participantit's seems to work yep.
I don't have time today if this fix break something else but the problem seems to be solved.
Thank you ๐
Julien
ParticipantIt's work ๐
Thanks a lot
-
AuthorPosts