Unable to update PHP version > 7.4

Posted in: Newspaper
Post count: 2

When I try to update the PHP version to 8 or higher on the server, the site becomes unreachable.
After contacting the host, they reported that the issue preventing functionality is caused by a widget called by the theme.
WARNING: [pool http://www.giornalecittadinopress.it] child 66 said into stderr: “[21-Nov-2024 08:12:30 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget::__construct(), 0 passed in /web/htdocs/www.giornalecittadinopress.it/home/wp-includes/class-wp-widget-factory.php on line 62 and at least 2 expected in /web/htdocs/www.giornalecittadinopress.it/home/wp-includes/class-wp-widget.php:163”

Post count: 27744

Hello,

Please make sure that your plugins are compatible with the PHP version. Please disable all extra plugins and try to update the PHP version.

Thank you!

Post count: 2

Thanks, I did what you suggested, I deactivated the extra plugins, one at a time, until I was able to update the PHP version.
Thanks again and good work

Post count: 9544

In case anyone wants some peace of mind: we’re running php 8.2x with Tagdiv stuff without issue.

Post count: 27744

Hello,

I’m glad that is resolved.

Have a great weekend!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.