wordpress page crash after upgrade from PHP 7.4 to 8.1

turbolego
3 Posts
turbolego posted this 08 January 2023

Error: (can also be seen live here: https://leonberger.online )

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home/5/l/leonbergeronline/www/wp-includes/widgets.php(115): WP_Widget_Factory->register('VMenuWidget') #2 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK051219b/library/widgets.php(271): register_widget('VMenuWidget') #3 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(308): artWidgetsInit('') #4 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 /home/5/l/leonbergeronline/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/5/l/leonbergeronline/www/wp-includes/widgets.php(1854): do_action('widgets_init') #7 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(308): wp_widgets_init('') #8 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /home/5/l/leonbergeronline/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/5/l/leonbergeronline/www/wp-settings.php(617): do_action('init') #11 /home/5/l/leonbergeronline/www/wp-config.php(90): require_once('/home/5/l/leonb...') #12 /home/5/l/leonbergeronline/www/wp-load.php(50): require_once('/home/5/l/leonb...') #13 /home/5/l/leonbergeronline/www/wp-blog-header.php(13): require_once('/home/5/l/leonb...') #14 /home/5/l/leonbergeronline/www/index.php(17): require('/home/5/l/leonb...') #15 {main} thrown in /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget.php on line 163

Error: (can also be seen live here: https://leonberger.online ) Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget.php:163 Stack trace: #0 /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /home/5/l/leonbergeronline/www/wp-includes/widgets.php(115): WP_Widget_Factory->register('VMenuWidget') #2 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK051219b/library/widgets.php(271): register_widget('VMenuWidget') #3 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(308): artWidgetsInit('') #4 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #5 /home/5/l/leonbergeronline/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /home/5/l/leonbergeronline/www/wp-includes/widgets.php(1854): do_action('widgets_init') #7 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(308): wp_widgets_init('') #8 /home/5/l/leonbergeronline/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #9 /home/5/l/leonbergeronline/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /home/5/l/leonbergeronline/www/wp-settings.php(617): do_action('init') #11 /home/5/l/leonbergeronline/www/wp-config.php(90): require_once('/home/5/l/leonb...') #12 /home/5/l/leonbergeronline/www/wp-load.php(50): require_once('/home/5/l/leonb...') #13 /home/5/l/leonbergeronline/www/wp-blog-header.php(13): require_once('/home/5/l/leonb...') #14 /home/5/l/leonbergeronline/www/index.php(17): require('/home/5/l/leonb...') #15 {main} thrown in /home/5/l/leonbergeronline/www/wp-includes/class-wp-widget.php on line 163
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
turbolego
3 Posts
turbolego posted this 08 January 2023

According to this file: www/wp-content/themes/NLBK051219b/script.js

/* Created by Artisteer v4.3.0.60745 */

According to this file: www/wp-content/themes/NLBK051219b/script.js /* Created by Artisteer v4.3.0.60745 */
Support Team
Support Team posted this 10 January 2023

Hello,

Looks like this is Artisteer template? Or did you export it to Themler? In any case, we would recommend to try this latest Artisteer version and re-export the theme to Themler for Wordpress with it:

http://files3.artisteer.com/Artisteer.4.3.0.60928.exe

Sincerely,
Nettie

Hello, Looks like this is Artisteer template? Or did you export it to Themler? In any case, we would recommend to try this latest Artisteer version and re-export the theme to Themler for Wordpress with it: http://files3.artisteer.com/Artisteer.4.3.0.60928.exe Sincerely, Nettie
turbolego
3 Posts
turbolego posted this 13 January 2023

Hello,

Looks like this is Artisteer template? Or did you export it to Themler? In any case, we would recommend to try this latest Artisteer version and re-export the theme to Themler for Wordpress with it:

http://files3.artisteer.com/Artisteer.4.3.0.60928.exe

Sincerely,
Nettie

We have tried both with the latest version of Artisteer and Themler.

Last try with the latest version of Themler still results in errors.

Is this a common error? Do you have a solution for this?

Thanks for your help so far! :D

Fatal error: Uncaught Error: Call to undefined function create_function() in /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/library/shortcodes-helper.php:64 Stack trace: #0 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/library/shortcodes.php(399): ShortcodesHelper::addShortcode('affix', 'theme_shortcode...') #1 /home/5/l/leonbergeronline/www/wp-includes/template.php(783): require_once('/home/5/l/leonb...') #2 /home/5/l/leonbergeronline/www/wp-includes/template.php(718): load_template('/home/5/l/leonb...', true, Array) #3 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/functions.php(448): locate_template(Array, true) #4 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/functions.php(48): theme_include_lib('shortcodes.php') #5 /home/5/l/leonbergeronline/www/wp-settings.php(585): include('/home/5/l/leonb...') #6 /home/5/l/leonbergeronline/www/wp-config.php(90): require_once('/home/5/l/leonb...') #7 /home/5/l/leonbergeronline/www/wp-load.php(50): require_once('/home/5/l/leonb...') #8 /home/5/l/leonbergeronline/www/wp-admin/admin.php(34): require_once('/home/5/l/leonb...') #9 /home/5/l/leonbergeronline/www/wp-admin/themes.php(10): require_once('/home/5/l/leonb...') #10 {main} thrown in /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/library/shortcodes-helper.php on line 64

> Hello, > > Looks like this is Artisteer template? Or did you export it to Themler? In any case, we would recommend to try this latest Artisteer version and re-export the theme to Themler for Wordpress with it: > > http://files3.artisteer.com/Artisteer.4.3.0.60928.exe > > Sincerely, > Nettie We have tried both with the latest version of Artisteer and Themler. Last try with the latest version of Themler still results in errors. Is this a common error? Do you have a solution for this? Thanks for your help so far! :D Fatal error: Uncaught Error: Call to undefined function create_function() in /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/library/shortcodes-helper.php:64 Stack trace: #0 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/library/shortcodes.php(399): ShortcodesHelper::addShortcode('affix', 'theme_shortcode...') #1 /home/5/l/leonbergeronline/www/wp-includes/template.php(783): require_once('/home/5/l/leonb...') #2 /home/5/l/leonbergeronline/www/wp-includes/template.php(718): load_template('/home/5/l/leonb...', true, Array) #3 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/functions.php(448): locate_template(Array, true) #4 /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/functions.php(48): theme_include_lib('shortcodes.php') #5 /home/5/l/leonbergeronline/www/wp-settings.php(585): include('/home/5/l/leonb...') #6 /home/5/l/leonbergeronline/www/wp-config.php(90): require_once('/home/5/l/leonb...') #7 /home/5/l/leonbergeronline/www/wp-load.php(50): require_once('/home/5/l/leonb...') #8 /home/5/l/leonbergeronline/www/wp-admin/admin.php(34): require_once('/home/5/l/leonb...') #9 /home/5/l/leonbergeronline/www/wp-admin/themes.php(10): require_once('/home/5/l/leonb...') #10 {main} thrown in /home/5/l/leonbergeronline/www/wp-content/themes/NLBK120123a/library/shortcodes-helper.php on line 64
You must log in or register to leave comments