Fatal Error: Uncaught ArgumentCountError
-
I recently updated PublishPress and then noticed I had to add the Statuses plugin (which I did).
Upon adding it the plugin threw a fatal error where I had to go into the database and disable the plugin.
Error Details
An error of type E_ERROR was caused in line 242 of the file /home/XXXXXXXXX/wp-content/plugins/publishpress-statuses/PublishPress_Statuses.php. Error message: Uncaught ArgumentCountError: Too few arguments to function PublishPress_Statuses::fltForcePrepublishPanel(), 4 passed in /home/XXXXXXXXX/wp-includes/class-wp-hook.php on line 287 and exactly 5 expected in /home/XXXXXXXXX/wp-content/plugins/publishpress-statuses/PublishPress_Statuses.php:242
Stack trace: 0 /home/XXXXXXXXX/wp-includes/class-wp-hook.php(287): PublishPress_Statuses->fltForcePrepublishPanel()
1 /home/XXXXXXXXX/wp-includes/plugin.php(212): WP_Hook->apply_filters()
2 /home/XXXXXXXXX/wp-includes/meta.php(676): apply_filters()
3 /home/XXXXXXXXX/wp-includes/class-wp-user.php(288): metadata_exists()
4 /home/XXXXXXXXX/wp-includes/class-wp-user.php(423): WP_User->__isset()
5 /home/XXXXXXXXX/wp-includes/user.php(663): WP_User->has_prop()
6 /home/XXXXXXXXX/wp-content/plugins/admin-columns-pro/admin-columns/classes/Preferences/Site.php(10): get_user_option()
#
I currently run….
WordPress version 5.6
Current theme: sage (version 9.0.9)
Current plugin: PublishPress Statuses (version 1.0.6.8)
PublishPress Capabilities: Version 2.13.0
PublishPress Planner: Version 4.1.0
PHP version 7.4.13
- The topic ‘Fatal Error: Uncaught ArgumentCountError’ is closed to new replies.