-
AuthorPosts
-
November 15, 2022 at 3:27 pm #1372653
Hello,
I am informing about the compatibility of Enfold 5.2.1 running on WordPress 6.1 with PHP 8 or PHP 8.1.
Our host is upgrading from PHP 7.4 to PHP 8 but now we are faced with all sorts of error messages which aren’t even Enfold related I am guessing..
Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /data/www/ourdomain.nl/www/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /data/www/ourdomain.nl/www/wp-includes/class-wp-widget.php:163 Stack trace: #0 /data/www/ourdomain.nl/www/wp-includes/class-wp-widget-factory.php(62): WP_Widget->__construct() #1 /data/www/ourdomain.nl/www/wp-includes/widgets.php(115): WP_Widget_Factory->register() #2 /data/www/ourdomain.nl/www/wp-content/plugins/tmls_testimonials/inc/widget.php(57): register_widget() #3 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(308): tmls_widget_init() #4 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #5 /data/www/ourdomain.nl/www/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /data/www/ourdomain.nl/www/wp-includes/widgets.php(1854): do_action() #7 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(308): wp_widgets_init() #8 /data/www/ourdomain.nl/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #9 /data/www/ourdomain.nl/www/wp-includes/plugin.php(517): WP_Hook->do_action() #10 /data/www/ourdomain.nl/www/wp-settings.php(617): do_action() #11 /data/www/ourdomain.nl/www/wp-config.php(100): require_once('...') #12 /data/www/ourdomain.nl/www/wp-load.php(50): require_once('...') #13 /data/www/ourdomain.nl/www/wp-blog-header.php(13): require_once('...') #14 /data/www/ourdomain.nl/www/index.php(17): require('...') #15 {main} thrown in /data/www/ourdomain.nl/www/wp-includes/class-wp-widget.php on line 163
I replaced our domain name with ourdomain.nl in the error code above.. for privacy reasons
Do you have any tips or pointers on how we can get this working 100%?
Hope to hear from you soon
November 15, 2022 at 3:38 pm #1372654Update – I found out this was because of an old plugin called ‘Testimonials WordPress plugin’ that was not supported anymore and made everything collapse..
SOLVED
November 15, 2022 at 5:08 pm #1372669 -
AuthorPosts
- You must be logged in to reply to this topic.