• Resolved aetherscythe

    (@aetherscythe)


    Seeing this in the warnings:

    
    [Nov 27 00:28:12]  Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/customer/www/example.com/public_html/wp-content/plugins/wp-mailster/plugin-update-checker/Puc/v4p1/Plugin/UpdateChecker.php on line 454 0
    
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author brandtoss

    (@brandtoss)

    “Deprecated” style messages can be ignored. In most case this is only relevant for developers and not for site operators, i.e. recommended to filter that PHP error level out.

    Thread Starter aetherscythe

    (@aetherscythe)

    Okay. But will it not break in the future?
    I found quite a few matching hits on how the code could be made to behave in a precise way as to whether to keep the old behavior or accept the new behavior with a different construct.
    Up to you what to do with it. I’m just reporting it. =D

    Plugins should not generate warnings. Filling up error_log makes it hard to debug a site as a whole. Warnings are there for a reason and I have not seen a case where they were not easy to resolve.

    And it makes running with WP_DEBUG on difficult, or in the case of AJAX, sometimes broken.

    • This reply was modified 2 years, 11 months ago by kitchin.
    Plugin Author brandtoss

    (@brandtoss)

    Not disagreeing at all!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deprecated: strpos(): Non-string needles will be interpreted as strings…’ is closed to new replies.