• Resolved relleenbetts

    (@relleenbetts)


    Hi,

    I’ve recently updated my website to PHP 8.1 and I’ve noticed a PHP error on Query Monitor regarding the Newsletter plugin. The messages I’ve gotten are the following:

    strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

    str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

    Could you take a look at it for a further update? Thanks a lot in advance!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi, are you using only the Newsletter plugin or even some addons? If you’re using addons, could you send me a screenshot of them (from the blog plugins panel). Even privately at stefano at thenewsletterplugin dot com.

    I suspect it is a problem with our code when adding menu entries in WP, but hat should have been fixed a few versions ago in Newsletter.

    Thank you!

    Thread Starter relleenbetts

    (@relleenbetts)

    Hi Stefano!

    Sorry for my late reply, I didn’t get the email notification from WP and totally missed your message. In the attached image you can see the addons I’m using (besides the plugin itself).

    Have a great day!

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, it was a problem with code adding entries to the menu, but it should have been solved. We’re checking if some of the older addon are using that code as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Errors on PHP 8.1’ is closed to new replies.