• Resolved lofersop

    (@lofersop)


    Detalles del error
    
    Se ha producido un error del tipo E_ERROR en la línea 250 del archivo
    /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-notices.php.
    Mensaje de error: Uncaught ArgumentCountError: 3 arguments are
    required, 2 given in
    /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-notices.php:250
    Stack trace: 0 /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-notices.php(250):
    
    sprintf() 1 /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-notices.php(552):
    
    AIOWPSecurity_Notices->populate_notices_content() 2 /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/vendor/team-updraft/common-libs/src/updraft-notices/updraft-notices.php(117):
    
    AIOWPSecurity_Notices->notices_init() 3 /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/admin/wp-security-admin-init.php(315):
    
    Updraft_Notices_1_2->do_notice() 4 /home/admin/web/public_html/wp-includes/class-wp-hook.php(324):
    
    AIOWPSecurity_Admin_Init->render_admin_notices() 5 /home/admin/web/public_html/wp-includes/class-wp-hook.php(348):
    
    WP_Hook->apply_filters() 6 /home/admin/web/public_html/wp-includes/plugin.php(517):
    
    WP_Hook->do_action() 7 /home/admin/web/public_html/wp-admin/admin-header.php(311):
    
    do_action() 8 /home/admin/web/public_html/wp-admin/index.php(137):
    
    require_once('…') 9 {main}
    
    thrown

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter lofersop

    (@lofersop)

    i try this post: https://wordpress.org/support/topic/aios-cannot-be-deleted-completely-big-mess/

    but i reinstall the plugins and fail again

    I use PHP 8.2 +NGINX

    • This reply was modified 2 years ago by lofersop.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi lofersop,

    It is not the general case Error. as per the error there seems sprintf function have 3 argument but it has 2 argument so it seems translation issue or something else.

    Can you please let me know the language being used?

    Also can you change the language to English and cross check.

    Uncaught ArgumentCountError: 3 arguments are
    required, 2 given in
    /home/admin/web/public_html/wp-content/plugins/all-in-one-wp-security-and-firewall/classes/wp-security-notices.php:250

    The line 250 sprintf in below have only 2 arguments.

    'text' => __('Get added protection with Premium.', 'all-in-one-wp-security-and-firewall'). ' '. __(' Scan your site for malware, downtime and response time issues.', 'all-in-one-wp-security-and-firewall') . ' ' . __(' Block traffic by country of origin, get advanced two-factor authentication, premium support and more.', 'all-in-one-wp-security-and-firewall').'<br>'.sprintf(__('Get 20%% off with code %s. Hurry, offer ends 31 July.', 'all-in-one-wp-security-and-firewall'), '<b>summersale2024</b>'),

    Regards

    Thread Starter lofersop

    (@lofersop)

    yes, if i change de languaje to english the error disappear. if i put spanish : “There has been a critical error on this website. Please check your site administrator’s email inbox for instructions.”

    my languaje is spanish.

    This happens to me in all my WordPress that I have the plugin installed and there are many.

    It is a general error. The plugin needs an update

    • This reply was modified 2 years ago by lofersop.
    • This reply was modified 2 years ago by lofersop.
    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @lofersop

    https://translate.wordpress.org/projects/wp-plugins/all-in-one-wp-security-and-firewall/stable/es/default/?filters%5Bstatus%5D=current

    It seems due to the wrong spanish translation. here %s en %s should be %s en

    twice %s is an issue.

    ‘Get 20%% off with code %s. Hurry, offer ends 31 July.’=>’Consigue un 20%% de descuento con el código %s en %s. Date prisa, la oferta termina el 31 de julio.’

    Maligno

    (@dagninogmailcom)

    All my sites with the same problem.
    So a translation can break a site?
    I think we should consider preventing this.

    😉

    Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @dagninogmailcom,

    Yes, if proper translations not updated by translatorr which has dynamic labels it can break the site.

    I have created internal ticket for this so we may preventing this.

    Regards

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

The topic ‘Error Plugin: All In One WP Security (versión 5.3.0)’ is closed to new replies.