- Trạng thái
- Đã được giải quyết bởi nhà phát triển
- Đã giải quyết trong
- Enfold 5.3.1.1
- Plugin/giao diện liên quan
- Enfold
- Thẻ chủ đề
- Compatibility
Tổng quan về lỗi
Việc cập nhật lên giao diện Enfold 5.3 với WPML trên máy chủ PHP 8.0 dẫn đến lỗi sau:
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
Giải pháp tạm thời
Các nhà phát triển của chúng tôi và nhóm Kriesi (nhà sản xuất Enfold) đã nắm được tình trạng này. Trong thời gian chờ đợi, vui lòng làm theo giải pháp tạm thời do nhóm phát triển giao diện Enfold cung cấp.
Hãy đảm bảo tạo một bản sao lưu đầy đủ cho trang web của bạn trước khi tiếp tục.