PHP Update? Plugin crashes website
-
Plugin does not work on PHP 7.0 or newer, will there be any update soon?
-
Hi @eke1 ,
We are using PHP 8.1.9, and the plugin works well. Can you please try to deactivate and delete the Widget Options plugin and then update your PHP version to PHP 7.4 or a newer version?
Thank you, and please let me know how it goes.
Regards,
MejHi Mej,
This plugin started to crash my whole site after my webhost forced me to update php.
I tried what you told me to do, removed the plugin and updated to php 8.1 and installed the plugin again (through the built in plugin “store”).
It still crashes my site, without it even doing anyting to my widgets, just by activating the plugin, i can however browser the admin site.
Fatal error: Uncaught Error: Undefined constant "retrobutiken" in /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/plugins/widget-options/includes/widgets/display.php(402) : eval()'d code:1 Stack trace: #0 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/plugins/widget-options/includes/widgets/display.php(402): eval() #1 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/plugins/widget-options/includes/widgets/extras.php(153): widgetopts_display_callback(Array, Object(stdClass), '') #2 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/class-wp-hook.php(308): widgetopts_sidebars_widgets(Array) #3 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #4 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/widgets.php(1039): apply_filters('sidebars_widget...', Array) #5 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/widgets.php(975): wp_get_sidebars_widgets() #6 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/inc/class-shop.php(102): is_active_sidebar('redparts-shop') #7 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/inc/class-shop.php(237): RedParts\Shop->get_layout() #8 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/inc/class-style.php(1703): RedParts\Shop->get_subcategory_columns() #9 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/inc/class-style.php(1727): RedParts\Style->get_categories_list_css() #10 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/inc/class-theme.php(371): RedParts\Style->css() #11 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/class-wp-hook.php(308): RedParts\Theme->enqueue_scripts('') #12 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #13 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #14 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/script-loader.php(2180): do_action('wp_enqueue_scri...') #15 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts('') #16 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #17 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #18 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/general-template.php(3043): do_action('wp_head') #19 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/header.php(27): wp_head() #20 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/template.php(783): require_once('/customers/c/2/...') #21 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/template.php(718): load_template('/customers/c/2/...', true, Array) #22 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #23 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/themes/redparts/page.php(18): get_header() #24 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-includes/template-loader.php(106): include('/customers/c/2/...') #25 /customers/c/2/8/matochnostalgi.com/httpd.www/wp-blog-header.php(19): require_once('/customers/c/2/...') #26 /customers/c/2/8/matochnostalgi.com/httpd.www/index.php(17): require('/customers/c/2/...') #27 {main} thrown in /customers/c/2/8/matochnostalgi.com/httpd.www/wp-content/plugins/widget-options/includes/widgets/display.php(402) : eval()'d code on line 1
Any idea?
@eke1, I can confirm the plugin works with PHP 8.0.25. I have not tested PHP 8.1.x yet. However in your case I suspect that there might be a conflict with a plugin and or your theme. You should carry out a plugin and theme conflict test. This will confirm to you if your issue is related to one of your plugins and or theme and not Widget Options.
Kind regards.
-
This reply was modified 2 years, 2 months ago by
mbrsolution.
Hi @mbrsolution , thank you for your support here. The whole Widget Options team appreciated it. ??
Hi @mbrsolution , yes, please follow through @mbrsolution suggestions. Thanks, and please let us know how it goes.Regards,
Mej -
This reply was modified 2 years, 2 months ago by
- The topic ‘PHP Update? Plugin crashes website’ is closed to new replies.