• Resolved lechon

    (@lechon)


    I just installed this plugin, it seems to work, but when looking at the “server info” it shows many PHP errors.

    Database Data Disk Usage, Value Linux
    Warning: A non-numeric value encountered in /wp-content/plugins/fast-velocity-minify/inc/functions-serverinfo.php on line 235
    7.2 MiB

    Database Index Disk Usage, Value Apache
    Warning: A non-numeric value encountered in /wp-content/plugins/fast-velocity-minify/inc/functions-serverinfo.php on line 252
    546.0 KiB

    MYSQL Query Cache Size
    Warning: A non-numeric value encountered in /wp-content/plugins/fast-velocity-minify/inc/functions-serverinfo.php on line 111

    Warning: A non-numeric value encountered in /wp-content/plugins/fast-velocity-minify/inc/functions-serverinfo.php on line 113

    Warning: A non-numeric value encountered in /wp-content/plugins/fast-velocity-minify/inc/functions-serverinfo.php on line 115

    Warning: A non-numeric value encountered in /wp-content/plugins/fast-velocity-minify/inc/functions-serverinfo.php on line 117
    unknown

    I have deactivated the plugin for now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Raul P.

    (@alignak)

    Your server php or your wordpress has debug enabled.
    Furthermore, your server is blocking access to those stats, so the page is useless on your server.

    You can still use it, since those warnings, are for that page only.
    It tries to get the server info, and then it’s blocked, resulting in a non numeric value.

    Disable your wp_debug (default).
    https://codex.www.ads-software.com/WP_DEBUG

    Or perhaps, this is done on your PHP server side.
    If you leave this ON, is a security risk.
    Debugging is only for development.

    Thread Starter lechon

    (@lechon)

    Hi Raul,

    Thanks for the information.

    I checked the wp-config.php files and debug is off.

    I am also using the Sucuri security plugin and the server “Environment Variables” settings is saying that “WordPress debug is not active”.

    Your plugin works, just the “Server Info” is showing these errors.

    I have looked everywhere to see where wp_debug might be enabled but I not found it yet.

    Plugin Author Raul P.

    (@alignak)

    It may be some PHP.ini variable, or some other piece of code causing this to be on too.
    If you’re not sure, ask your hosting company about that.

    https://stackoverflow.com/questions/15949304/turn-off-display-error-php-ini

    Thread Starter lechon

    (@lechon)

    I will check it out.

    Thanks Raul!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Many PHP Errors Under Server Info.’ is closed to new replies.