Deprecated: str_contains(): Passing null to parameter #1 ($haystack)

Hi
I was checking my affiliate page and noticed that it shows the following by default.
I have replaced my website info with XXXXXXXX in the below code

Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/XXXXXXX/public_html/wp-includes/shortcodes.php on line 246
https://XXXXXXXXXXXX/?special=3

Here is a screenshot of the exact area: https://www.dropbox.com/s/d1n884jcjza91aw/Screenshot%202023-10-29%2011.27.30.png

It does show the correct affiliate link when I add a URL, but the default when I load the page it shows the above.

3 Responses to Deprecated: str_contains(): Passing null to parameter #1 ($haystack)

  1. George October 30, 2023 at 8:22 pm #

    Thanks for the follow-up, note taken for a fix on the next update of the plugin.

    Kind regards,
    George

  2. Michael October 30, 2023 at 11:29 am #

    Hi George

    PHP version: 8.1.23

  3. George October 30, 2023 at 8:41 am #

    Hi Michael,

    Thanks for mentioning the issue, I’ve taken a note on this for further reviewing.
    Can you also please mention the PHP version currently running on your site?

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share