PHP 5.6.38-nmm2
WP 5.1.1
Enfold 4.5.5
When saving a post or page, the saving works, but on reload the following errors are thrown and the site / backend doesn’t build up.
Any idea?
Thank you.
Warning: array_key_exists() expects parameter 2 to be array, string given in .../enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 1133
Warning: Cannot modify header information - headers already sent by (output started at .../enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:1133) in .../wp-admin/post.php on line 222
Warning: Cannot modify header information - headers already sent by (output started at .../enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:1133) in .../wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information - headers already sent by (output started at .../enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php:1133) in .../wp-includes/pluggable.php on line 1254
Hey mailworm,
Sorry for the problem, it might be due to the PHP version you are running. Would you be able to update to 7.1?
Best regards,
Rikard
Hey Rikard,
tried with PHP 7.1 and 7.3, both throwing the same error. Strange thing is, this happens only with this installation. This way I found out: We use a custom section-shortcode and this one wasn’t compatible anymore.
Always too quick in forgetting about this. :-)
Hi,
Thanks for the update, I’m not sure I understand what you mean though. Is the problem fixed or do you still need help?
Best regards,
Rikard
It is fixed. I had to update my child themes /shortcodes/section.php.
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon