• Resolved TipTop Learning

    (@tiptoplearning)


    I have a WordPress with php8 and spanish.
    When I clic to Run Secure Site nothing happends.
    Nginx logs show the next error:

    2021/06/01 09:13:02 [error] 885#885: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ValueError: Unknown format specifier "p" in /var/www/html/wordpress/wp-content/plugins/better-wp-security/core/modules/site-scanner/settings-page.php:31
    Stack trace:
    #0 /var/www/html/wordpress/wp-content/plugins/better-wp-security/core/modules/site-scanner/settings-page.php(31): sprintf()
    #1 /var/www/html/wordpress/wp-content/plugins/better-wp-security/core/admin-pages/page-settings.php(387): ITSEC_Settings_Page_Sidebar_Widget_Site_Scanner->render()
    #2 /var/www/html/wordpress/wp-content/plugins/better-wp-security/core/admin-pages/page-settings.php(517): ITSEC_Settings_Page->get_widget_settings()
    #3 /var/www/html/wordpress/wp-content/plugins/better-wp-security/core/admin-pages/page-settings.php(327): ITSEC_Settings_Page->show_settings_page()
    #4 /var/www/html/wordpress/wp-includes/cl" while reading upstream, client: 83.40.146.66, server: ubuntu-1804-image, request: "GET /wp-admin/admin.php?page=itsec HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "185.166.214.52", referrer: "http://$
    2021/06/01 09:13:02 [error] 885#885: *10 FastCGI sent in stderr: "ass-wp-hook.php(292): ITSEC_Settings_Page->handle_page_load()
    #5 /var/www/html/wordpress/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #6 /var/www/html/wordpress/wp-" while reading upstream, client: 83.40.146.66, server: ubuntu-1804-image, request: "GET /wp-admin/admin.php?page=itsec HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "185.166.214.52", referrer: "http://185.166.214$
    2021/06/01 09:13:43 [error] 885#885: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught ValueError: Unknown format specifier "p" in /var/www/html/wordpress/wp-content/plugins/better-wp-security/core/modules/site-scanner/settings-page.php:31

    If I change wordpress language to English ithemes work properly
    Could you check it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • nlpro

    (@nlpro)

    Hi,

    This is not a PHP 8 specific issue nor a bug in the iTSec plugin code. It’s a translation issue. Make sure “100%%” is translated as “100%%” (currently it is translated as “100%” in the Spanish translation of the plugin). You can suggest the correct translation here.

    Filter for the string below:

    This %1$ssite scan is powered by iThemes%2$s. We use several datapoints to check for known malware, blocklist status, website errors and out-of-date software. These datapoints are not 100%% accurate, but we try our best to provide thorough results.

    +++++ To prevent any confusion, I’m not iThemes +++++

    Thread Starter TipTop Learning

    (@tiptoplearning)

    Thank you, I have modified the translation with loco translate and know is working!

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

The topic ‘ithemes not working php8’ is closed to new replies.