• Resolved sujanm

    (@sujanm)


    Hi Roland,

    I just wanted to report that I just got a critical error on my site. Here is the sanitized log with my details removed:

    2022-10-08 07:03:18.925872 [NOTICE] [909687] [(ip removed):58573:HTTP2-1#APVH_(website removed):443] [STDERR] PHP Fatal error:  Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/(user id removed)/domains/(domain removed)/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php:1011
    Stack trace:
    #0 /home/(user id removed)/domains/(domain removed)/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php(1011): sprintf()
    #1 /home/(user id removed)/domains/(domain removed)/public_html/wp-includes/class-wp-hook.php(307): PDb_Aux_Plugin::{closure}()
    #2 /home/(user id removed)/domains/(domain removed)/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #3 /home/(user id removed)/domains/(domain removed)/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #4 /home/(user id removed)/domains/(domain removed)/public_html/wp-admin/admin-header.php(303): do_action()
    #5 /home/(user id removed)/domains/(domain removed)/public_html/wp-admin/index.php(137): require_once('/home/(user id removed)/...')
    #6 {main}
      thrown in /home/(user id removed)/domains/(domain removed)/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php on line 1011
    2022-10-08 07:05:20.242891 [INFO] [921229] [(ip removed):58583:HTTP2-1#APVH_(website removed):443] Abort request processing by PID:924046, kill: 1, begin time: 2, sent time: 2, req processed: 0

    I looked in the code and didn’t see an obvious reason for the error but it seems that it has been triggered by the update check for a new version.

    Just wanted to report it in case you were not aware

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sujanm

    (@sujanm)

    Update, I dactivated the plugin and reinstalled the latest version and am still getting the critical error. Here is the log:

    2022-10-08 07:28:00.518134 [NOTICE] [1067651] [(ip removed):58832:HTTP2-15#APVH_(website removed):443] [STDERR] participants-database plugin deactivated
    2022-10-08 07:28:58.455380 [NOTICE] [1075602] [(ip removed):58860:HTTP2-3#APVH_(website removed):443] [STDERR] participants-database plugin activated
    2022-10-08 07:29:25.008586 [NOTICE] [1081028] [(ip removed):58868:HTTP2-1#APVH_(website removed):443] [STDERR] PHP Fatal error:  Uncaught ArgumentCountError: 3 arguments are required, 2 given in /home/(userid removed)/domains/(domain removed)/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php:1003
    Stack trace:
    #0 /home/(userid removed)/domains/(domain removed)/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php(1003): sprintf()
    #1 /home/(userid removed)/domains/(domain removed)/public_html/wp-includes/class-wp-hook.php(307): PDb_Aux_Plugin::{closure}()
    #2 /home/(userid removed)/domains/(domain removed)/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #3 /home/(userid removed)/domains/(domain removed)/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #4 /home/(userid removed)/domains/(domain removed)/public_html/wp-admin/admin-header.php(303): do_action()
    #5 /home/(userid removed)/domains/(domain removed)/public_html/wp-admin/admin.php(239): require_once('/home/(userid removed)/...')
    #6 {main}
      thrown in /home/(userid removed)/domains/(domain removed)/public_html/wp-content/plugins/participants-database/classes/PDb_Aux_Plugin.php on line 1003
    Thread Starter sujanm

    (@sujanm)

    I should mention that I’m on WordPress 6.0.2 and PHP 8.0

    Plugin Author Roland Barker

    (@xnau)

    Thanks for this, I’ll issue a fix right away.

    Thread Starter sujanm

    (@sujanm)

    Thanks for sending out the update Roland!

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

The topic ‘PHP Fatal Error on update check’ is closed to new replies.