Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #1023041

    We switched our site to WP Engine and now we can’t add posts or pages. According to WP Engine this is what the error looks like:

    15 PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /nas/content/live/borgensite/wp-content/themes/choices/includes/admin/compat.php:48\nStack trace:\n#0 [internal function]: avia_backend_compatibility_custom_field_filter(”, 284235)\n#1 /nas/content/live/borgensite/wp-includes/class-wp-hook.php(286): call_user_func_array(‘avia_backend_co…’, Array)\n#2 /nas/content/live/borgensite/wp-includes/plugin.php(203): WP_Hook->apply_filters(”, Array)\n#3 /nas/content/live/borgensite/wp-content/themes/choices/framework/php/function-set-avia-frontend.php(262): apply_filters(‘avia_post_meta_…’, ”, 284235)\n#4 [internal function]: avia_post_meta(Object(WP_Post))\n#5 /nas/content/live/borgensite/wp-includes/class-wp-hook.php(288): call_user_func_array(‘avia_post_meta’, Array)\n#6 /nas/content/live/borgensite/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)\n#7 /nas/content/live/borgensite/wp-includes/plugin.php(515): WP_Hook->do_action(Array)\n#8 /nas/content/live/borgensite/wp-includes/class-wp-query. in /nas/content/live/borgensite/wp-content/themes/choices/includes/admin/compat.php on line 48

    Any suggestions on how to fix this?


    Hey borgenproject1,

    Here is a thread for you to consider

    If you need further assistance please let us know.
    Best regards,


    I’ve a similar problem with choices and php 7.1/7.2

    I can’t edit or add events in Events Manager. The link above to the other topic isn’t useful because the pastebin for the updated compat.php isn’t valid anymore.

    Best regards



    I need really help :-)
    It seems to be a problem of Choices and not of Events Manager. The problem is not that I can’t add events, but I can’t edit events. The list of events is blank in the admin panel. In frontend the events are visible. What is to do?

    Many thanks!



    Please find compat.php file here –
    Also, please check out this post –



    Many thanks and merry christmas!



    You are welcome!
    Thanks! Merry Christmas and happy new year!

    Best regards,

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘PHP Fatal Error – Can't add pages or posts’ is closed to new replies.