• Resolved SteMMo

    (@stemmo)


    Hi all,

    today i updated my site and I needed to have a huge multiple update:

    • PHP from 5.3 to 8.1.14
    • WordPress from ? to 6.1.1

    After the PHP upgrade I needed to make some manual changes to solve the no-more-supported PHP function errors and finally I was able to run the wp-admin pages and update WP to 6.1.1. But some errors are still there.

    Mainly the error (from the main page) on file wp-includes/class-wp-widget-factory.php [62] that reports that are expected 2 parameters instead of 0. The line is:

    …. = new $widget();

    How can is possible such an error?

    How can I solve it, please?

    Thanks, regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    The error you mentioned is often related to the theme, which is not compatible with the new widget blocks. Have you updated plugins and themes as well? Especially with such old websites, there might not be an update for the theme, so you could solve the problem only by changing the theme.

    By the way, I would recommend using PHP 8.0 rather than 8.1 for WordPress websites as of today. WordPress itself still has its problems with 8.1, even in the latest version. Plugins and themes even more.

    Thread Starter SteMMo

    (@stemmo)

    Thanks a lot.

    I changed the theme and I have no more error.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems after huge update’ is closed to new replies.