• Resolved dazbaz80

    (@dazbaz80)


    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

    • This topic was modified 6 months, 3 weeks ago by dazbaz80.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    Hi @dazbaz80

    Thanks for using our plugin.

    I did not see this error on our testing.

    I saw you are using WordPress version 5.6. I was wondering if that was the cause of it. Is there any specific reasons why you haven’t update to latest version yet?

    Thread Starter dazbaz80

    (@dazbaz80)

    Hi, I have a slightly customised theme and features and don’t wish to update WP in fear of breaking anything.

    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @dazbaz80 The problem you’ve encountered appears to be specific to older version of WordPress. As we’ve progressed to WordPress 6.5.3, our focus is on supporting the newer versions of WordPress. Sorry, but we do not have plans to add compatibility for older WordPress versions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error: Uncaught ArgumentCountError’ is closed to new replies.