Critical Error on PHP 8.2
-
When testing one of our sites for PHP 8.2 upgrade we get this error from Widget Options. Have you tested on PHP 8.2?
Site directories have been replaced with **** for privacy.
PHP Fatal error: Uncaught Error: Undefined constant "contact" in /****/wp-content/plugins/widget-options/includes/widgets/display.php(436) : eval()'d code:1#012Stack trace:#012#0 /****/wp-content/plugins/widget-options/includes/widgets/display.php(436): eval()#012#1 /****/wp-content/plugins/widget-options/includes/widgets/extras.php(153): widgetopts_display_callback(Array, Object(stdClass), '')#012#2 /****/wp-includes/class-wp-hook.php(310): widgetopts_sidebars_widgets(Array)#012#3 /****/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)#012#4 /****/wp-includes/widgets.php(1043): apply_filters('sidebars_widget...', Array)#012#5 /****/wp-includes/widgets.php(909): wp_get_sidebars_widgets()#012#6 /****/wp-content/plugins/revslider/public/revslider-front.class.php(61): is_active_widget(false, false, 'rev-slider-widg...', true)#012#7 /****/wp-includes/class-wp-hook.php(310): RevSliderFront::add_actions('')#012#8 /****/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)#012#9 /****/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#10 /****/wp-includes/script-loader.php(2225): do_action('wp_enqueue_scri...')#012#11 /****/wp-includes/class-wp-hook.php(310): wp_enqueue_scripts('')#012#12 /****/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array)#012#13 /****/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#14 /****/wp-includes/general-template.php(3053): do_action('wp_head')#012#15 /****/wp-content/themes/****/header.php(20): wp_head()#012#16 /****/wp-includes/template.php(785): require_once('/nas/content/li...')#012#17 /****/wp-includes/template.php(720): load_template('/nas/content/li...', true, Array)#012#18 /****/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)#012#19 /****/wp-content/themes/****/page.php(14): get_header()#012#20 /****/wp-includes/template-loader.php(106): include('/nas/content/li...')#012#21 /****/wp-blog-header.php(19): require_once('/nas/content/li...')#012#22 /****/index.php(17): require('/nas/content/li...')#012#23 {main}#012 thrown in /****/wp-content/plugins/widget-options/includes/widgets/display.php(436) : eval()'d code on line 1
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Critical Error on PHP 8.2’ is closed to new replies.