• Resolved massimod

    (@massimod)


    This is in my debug.log (PHP 7.0.2)

    [17-Jan-2016 18:07:22 UTC] PHP Warning: mb_substr() expects parameter 1 to be string, array given in /home/wp-content/plugins/autodescription/inc/classes/transients.class.php on line 260

    [22-Jan-2016 20:18:03 UTC] PHP Warning: mb_substr() expects parameter 1 to be string, array given in /home/wp-content/plugins/autodescription/inc/classes/transients.class.php on line 260

    Thanks !

    https://www.ads-software.com/plugins/autodescription/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi MassimoD,

    Thanks for notifying!

    Do you know perhaps which page causes this warning message? The page should be created by another plugin as WP Core doesn’t create arrays at that point.

    Whatever the cause, it is fixed in the next update :).

    Thread Starter massimod

    (@massimod)

    Sybre, how can i find what page is the cause ?

    Also i can’t find if this is a plugin problem, because the error is somehow rare (happening once a week or so). The disable plugin method could take weeks …

    Let me know if i can help more on this.

    Thanks

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi MassimoD,

    No need to crawl and find as it’s a very minor issue which I can replicate myself :).

    It’s probably caused by a category or tag index of a custom post type. I’ll run some tests myself :).

    Thanks and have a great day!

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi MAssimoD,

    The issue has been fixed as of 2.5.2, therefore I’m marking this topic as resolved. Feel free to re-open this topic if the problem still persists.

    Thank you once again for the report! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warnings’ is closed to new replies.