WordPress.org

Make WordPress Core

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#44855 closed defect (bug) (invalid)

Strange fatal error: uncaught while updating plugins

Reported by: catsfoto1se Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:

Description

Hi

I updated three plugins via my phone, and when it was ready, this error was shown below:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Statistics_Welcome::do_welcome(), 0 passed in /customers/3/i/2/rainbowcats.se/httpd.www/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-admin.php on line 684 and exactly 2 expected in /customers/3/i/2/rainbowcats.se/httpd.www/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php:52 Stack trace: #0 /customers/3/i/2/rainbowcats.se/httpd.www/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-admin.php(684): WP_Statistics_Welcome::do_welcome() #1 /customers/3/i/2/rainbowcats.se/httpd.www/wp-includes/class-wp-hook.php(286): WP_Statistics_Admin->upgrade_plugin(Object(Plugin_Upgrader), Array) #2 /customers/3/i/2/rainbowcats.se/httpd.www/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /customers/3/i/2/rainbowcats.se/httpd.www/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #4 /customers/3/i/2/rainbowcats.se/httpd.www/wp-admin/includes/class-plugin-upgrade in /customers/3/i/2/rainbowcats.se/httpd.www/wp-content/plugins/wp-statistics/includes/classes/class-wp-statistics-welcome.php on line 52

A screenshot of the update:(after it was finished, the error code isn't visible on this cap, and it's also in swedish)

https://dropbox.gr1.se/core.png

Change History (3)

#1 follow-up: @swissspidy
19 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi there

As the error message indicates, this is an error in the WP Statistics plugin you‘re using, not WordPress itself. You‘d need to report this to the plugin developer.

#2 in reply to: ↑ 1 @catsfoto1se
19 months ago

Oops, missed that, I read the line that was implicating httpd.www/wp-includes/class-wp-hook.php, and faulty assumed it was The core.
Thx

Replying to swissspidy:

Hi there

As the error message indicates, this is an error in the WP Statistics plugin you‘re using, not WordPress itself. You‘d need to report this to the plugin developer.

#3 @SergeyBiryukov
19 months ago

  • Component changed from General to Plugins
Note: See TracTickets for help on using tickets.