• Error details: Fatal error: Uncaught ArgumentCountError: 3 arguments are required, 2 given

    Location: .../wp-content/plugins/updraftplus/includes/updraftplus-notices.php on line 216

    Stack Trace:

    Plaintext

    #0 .../includes/updraftplus-notices.php(216): sprintf()
    #1 .../includes/updraftplus-notices.php(241): UpdraftPlus_Notices->populate_notices_content()
    #2 .../vendor/team-updraft/common-libs/src/updraft-notices/updraft-notices.php(121): UpdraftPlus_Notices->notices_init()
    #3 .../admin.php(1237): Updraft_Notices_1_3->do_notice()
    #4 .../wp-includes/class-wp-hook.php(341): UpdraftPlus_Admin->core_upgrade_preamble()
    #5 .../wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
    #6 .../wp-includes/plugin.php(522): WP_Hook->do_action()
    #7 .../wp-admin/update-core.php(1139): do_action()
    

    Description: The error occurs within the populate_notices_content() method. The sprintf() call on line 216 expects 3 arguments based on the format string, but only 2 are being passed. This causes a fatal error on sites running PHP 8.0+.

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

You must be logged in to reply to this topic.