Skip Navigation

Waiting for author

Topic Tags: Compatibility

Overview of the issue

Updating to Enfold 5.3 theme with WPML under a PHP 8.0 server leads to the following error:

Fatal error: Uncaught InvalidArgumentException: Trying to read non existing property in class avia_superobject: wpml in …/wp-content/themes/enfold/framework/php/base-classes/class-object-properties.php:33 Stack trace: #0 …/wp-content/themes/enfold/config-wpml/class-avia-wpml.php(1178): aviaFramework\base\\object_properties->__get(‘wpml’) #1 …/wp-content/themes/enfold/config-wpml/config.php(578): avia_WPML->wpml_get_options(‘maintenance_mod…’) #2 …/wp-includes/class-wp-hook.php(308): avia_wpml_get_special_pages_ids(Array, ‘pre_get_posts_f…’) #3 …/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #4 …/wp-content/themes/enfold/includes/class-avia-custom-pages.php(530): apply_filters(‘avf_get_special…’, Array, ‘pre_get_posts_f…’) #5 …/wp-includes/class-wp-hook.php(308): Avia_Custom_Pages->handler_hide_special_pages(Object(WP_Query) in …/wp-content/themes/enfold/framework/php/base-classes/class-object-properties.php on line 33

Workaround

Our developers and the Kriesi team (the makers of Enfold) are already aware of this situation. In the meantime, please follow the workaround provided by the Enfold theme team.

Be sure to make a full backup of your site before proceeding.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>