• The error message as below:

    PHP Warning: Creating default object from empty value in /wp-admin/includes/plugin-install.php on line 222

    Wordpress version: 5.8.1

    Please help, thanks.

    • This topic was modified 2 years, 7 months ago by tonygao.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    Your theme or one of your plugins is trying to override the Plugins API and isn’t doing it correctly. Deactivate all plugins and switch to twenty twenty-one theme. The error should no longer occur. Restore your normal theme and plugins, one at a time, testing after each. When the error recurs, the last activated module is the cause. Take up the issue with the devs of that module through their dedicated support channel.

    Thread Starter tonygao

    (@tonygao)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in log file: “Creating default object from empty value”’ is closed to new replies.