• Resolved martin9870

    (@martin9870)


    Hello, in wp debug file I found many of these notifications: (PHP Deprecated: Implicit conversion from float 502839.00000000006 to int loses precision in ****/femdom365.net/wp-content/plugins/read-more-without-refresh/readmoreoptions.php on line 39). It looks like it concumes my server resources – please check it and tell me what it means an how I can get rid of it? Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author George Gkouvousis

    (@gkouvousisg)

    Hello,

    The message you’re seeing in the debug file is a “deprecated notice” from PHP.
    It does not indicate a critical error, but rather a warning that the code in the
    “Read More Without Refresh” plugin uses an older method that PHP now marks as outdated.

    These notices do not usually affect the normal operation of your site, but they can
    fill up the debug log and increase server resource usage if they appear frequently.
    This is related to compatibility with newer PHP versions.

    At this stage, there’s no urgent issue for your website, but it’s something that
    we will eventually need to update in future versions to align with
    the latest PHP standards (but cannot be done now as it will affect old PHP versions of existing installations).

    Thread Starter martin9870

    (@martin9870)

    Thank you, and what is the highest PHP version the plugin is compatible with? Maybe I will try to downgrade PHP version.

    Plugin Author George Gkouvousis

    (@gkouvousisg)

    Hi Martin,

    There’s no need to downgrade your PHP version. The notices you’re seeing are only “deprecated warnings,” not real errors. They appear because newer PHP versions are stricter in reporting older coding styles.

    If you prefer not to see them, you can simply adjust the WP_DEBUG_LOG level (or disable WP_DEBUG_DISPLAY in wp-config.php) so that only actual errors are logged. This way the deprecated notices won’t fill up your debug file or consume extra resources.

    The plugin itself remains fully functional with the latest PHP versions, so you don’t need to worry about compatibility.

    Thread Starter martin9870

    (@martin9870)

    Please tell me which latest PHP version does not show this warning. Thank you.

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

The topic ‘[NSFW] Warnings in wp-debug log’ is closed to new replies.