Error 500 after updating PHP from 8.0 to 8.3
-
Hello, today we upgraded our PHP from version 8.0 to version 8.3.
This broke the Appearance / Customize function, the tools on the left don’t load and the spinner keeps… spinning!
In Chrome debug tool I found that admin-ajax.php returns error code 500, so I got to WordPress logs and found the error below.
Could you please confirm it is due to the new PHP version? Could you fix this?
Tomorrow I’ll try rolling back to v 8.2 or lower, but v 8.3 was required by a different plugin I have.
Please help, thank you!
Uncaught Error: Call to a member function is_preview_mode() on null
Stack trace:
#0 /wp-content/plugins/royal-elementor-addons/admin/includes/wpr-render-templates.php(238): WprAddons\Admin\Includes\WPR_Conditions_Manager::header_footer_display_conditions()
#1 /wp-includes/class-wp-hook.php(324): WprAddons\Admin\Includes\WPR_Render_Templates->enqueue_scripts()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-includes/script-loader.php(2299): do_action()
#5 /wp-includes/class-wp-customize-manager.php(462): wp_enqueue_scripts()
#6 /wp-includes/class-wp-customize-manager.php(561): WP_Customize_Manager->wp_die()
#7 /wp-includes/class-wp-hook.php(324): WP_Customize_Manager->setup_theme()
#8 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /wp-settings.php(653): do_action()
#11 /wp-config.php(109): require_once('/home/nm58rdpi/...')
#12 /wp-load.php(50): require_once('/home/nm58rdpi/...')
#13 /wp-blog-header.php(13): require_once('/home/nm58rdpi/...')
#14 /index.php(17): require('/home/nm58rdpi/...')
#15 {main} thrown in /wp-content/plugins/royal-elementor-addons/admin/includes/wpr-conditions-manager.php on line 43
Plugin: Royal Elementor Addons
File: /wp-content/plugins/royal-elementor-addons/admin/includes/wpr-conditions-manager.php
Line: 43
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.