Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1086438

    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
    #1086878

    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

    #1087189

    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. :-)

    #1087681

    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

    #1088181

    It is fixed. I had to update my child themes /shortcodes/section.php.

    #1088342

    Hi,

    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Error in backend: array_key_exists() @ shortcode-template.class.php’ is closed to new replies.