NO BUG: Cannot save template after updating to 1.9.9

After updating to the latest version of Bricks, I can no longer save a template that contains a code element. Once I have signed the code, it is executed regularly, but the template does not save itself and the icon keeps spinning endlessly.

The code contains an echo instruction, which I have regularly authorised via the php filter suggested by Bricks when reviewing the code to be signed.

I am stuck in a loop.

Plese help. TIA

The code should render the icons in the service cards (Before Bricks made the SVG element dynamic)

Browser: Arc
OS: macOS

Hi Filippo,
Thanks so much for your report!

Without knowing your custom code, the problem is of course difficult or impossible to reproduce.

Please send temporary login credentials and a link to this thread to help@bricksbuilder.io using the email address you used during the purchase.

Best regards,
timmse

Hi timmse,

Thanks for your reply.

I just found what was wrong. After updating Metabox IO to the latest version, Wordpress threw an error, after that the issue started.

Disabling METABOX everything works fine.

I have contacted already the support team at Metabox, and hopefully they will fix the issue (or BUG)

For you reference see below the error:

Error Details

=============

An error of type E_ERROR was caused in line 47 of the file /home/sites/29a/8/80bb536d15/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-revision/revision.php. Error message: Uncaught ArgumentCountError: Too few arguments to function MB_Revision::copy_fields_to_revision(), 1 passed in /home/sites/29a/8/80bb536d15/public_html/wp-includes/class-wp-hook.php on line 310 and exactly 2 expected in /home/sites/29a/8/80bb536d15/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-revision/revision.php:47

Stack trace:

#0 /home/sites/29a/8/80bb536d15/public_html/wp-includes/class-wp-hook.php(310): MB_Revision->copy_fields_to_revision(2541)

#1 /home/sites/29a/8/80bb536d15/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)

#2 /home/sites/29a/8/80bb536d15/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

#3 /home/sites/29a/8/80bb536d15/public_html/wp-includes/revision.php(367): do_action(‘_wp_put_post_re…’, 2541)

#4 /home/sites/29a/8/80bb536d15/public_html/wp-includes/revision.php(191): _wp_put_post_revision(Array)

#5 /home/sites/29a/8/80bb536d15/public_html/wp-includes/class-wp-hook.php(312): wp_save_post_revision(1441)

#6 /home/sites/29a/8/80bb536d15/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(‘’, Array)

#7 /home/sites/29a/8/80bb536d15/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

#8 /home/sites/29a/8/80bb536d15/public_html/wp-includes/post.php(4722): do_action(‘post_updated’, 1441, Object(WP_Post), Object(WP_Post))

#9 /home/sites/29a/8/80bb536d15/public_html/wp-includes/post.php(4855): wp_insert_post(Array, false, true)

#10 /home/sites/29a/8/80bb536d15/public_html/wp-admin/includes/post.php(445): wp_update_post(Array)

#11 /home/sites/29a/8/80bb536d15/public_html/wp-admin/post.php(227): edit_post()

#12 {main}

thrown

Thanks for letting us know :slight_smile: