• Resolved Alex Kladov

    (@prowebassist)


    Hi,

    Our website log is flooded by the following notice that is repeated hundreds of times over an over:

    [17-Mar-2019 04:55:50 UTC] PHP Warning: A non-numeric value encountered in /home/website/public_html/wp-content/plugins/updraftplus/class-updraftplus.php on line 3654

    Can you please correct it?

    Regards,
    Alex

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi Alex,

    Apologies for the inconvenience.

    I have passed this on to our developers.

    If you wish to manually fix the issue before the next release, please find the following line mentioned in the warning:
    if (strpos($entry, substr($skip, 1, strlen($skip-2))) !== false) {

    and change it to:
    if (strpos($entry, substr($skip, 1, strlen($skip)-2)) !== false) {

    This should stop the warning

    Thread Starter Alex Kladov

    (@prowebassist)

    Hi @dnutbourne!

    Thanks for your help! I will update the file right now.

    But I am hoping this will be patched up in the next release, so that I won’t have to edit this every time the plugin updates?

    Regards,
    Alex

    Plugin Contributor bcrodua

    (@bcrodua)

    Hi Alex,

    Yes, the fix will be added on our next release.

    Thanks,
    Bryle

    Thread Starter Alex Kladov

    (@prowebassist)

    Hi @bcrodua,

    I just saw a release from today and it included the fix. Perfect, thanks!

    Regards,
    Alex

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warning: A non-numeric value encountered’ is closed to new replies.