• Resolved makiaho

    (@makiaho)


    Hi,

    I’ll keep getting these warning messages:

    [03-Mar-2017 11:37:10 UTC] PHP Notice: A non well formed numeric value encountered in /data03/virt55765/domeenid/www.MyDomain.fi/htdocs2/wp-content/plugins/better-wp-security/core/class-itsec-lib.php on line 672
    [03-Mar-2017 11:37:10 UTC] PHP Notice: A non well formed numeric value encountered in /data03/virt55765/domeenid/www.MyDomaina.fi/htdocs2/wp-content/plugins/better-wp-security/core/class-itsec-lib.php on line 686

    Is there anything, I could do?

    Pekka

Viewing 4 replies - 16 through 19 (of 19 total)
  • pronl

    (@pronl)

    @makiaho

    Ok, so the PHP env is picking up the ‘global’ php.ini memory_limit value.

    So the 2024M value is probably a reset somewhere in the WordPress env.
    It could be a plugin or something else.

    If possible do a global search in all WordPress *.php files for the string ‘2024M’.
    That should help identify the php file where the memory_limit is reset to 2024M.

    pronl

    (@pronl)

    @makiaho

    This post is just to illustrate the notice you are experiencing is officially documented in PHP.

    Read the Notices and warnings on arithmetic with invalid strings section in the Migrating from PHP 7.0.x to PHP 7.1.x Other Changes paragraph.

    @makiaho

    Updating to the 6.2.0 release should fix the 2 notices.

    According to the 6.2.0 Changelog:

    Bug Fix: Removed warning about a “non well formed numeric value encountered” in PHP 7.1.

    Thread Starter makiaho

    (@makiaho)

    Thank you. Updating to the 6.2.0 fixed this. Thanks @pronl for explaning the reason.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Warning message: A non well formed numeric value encountered’ is closed to new replies.