• Resolved hixaga2

    (@hixaga2)


    Hello, I hope you are very well, I am testing with PHP 8.1.14 and it gives me the following message

    Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php online 69

    What should I do?

    Regards

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi?@hixaga2 thanks for opening this issue. If using PHP 8.1 depreciation notices are not uncommon, with this version still in Beta support for the latest WordPress releases. Such notices are not specific to Site Kit, with more details on WordPress support for PHP versions below:
    https://make.www.ads-software.com/core/handbook/references/php-compatibility-and-wordpress-versions/

    Note also that we’re aware of this and such errors can be disregarded, with warnings expected until PHP 8.1 is fully supported in WordPress. They also don’t impact Site Kit set up or functionality. If you find otherwise please let us know.

    Is there anything else I can help with?

    Thread Starter hixaga2

    (@hixaga2)

    Hello Adam,

    Thank you very much for the help and explanation. If I take into consideration that everything is still in beta and the changes are slow.

    In any case, if something appears, I will report it just for your information.

    Thanks for everything and greetings!

    Hi

    Apologies if this is not the right place to report this, but as this is a PHP8 thread I thought it appropriate.

    We are running PHP8.1 and I have started receiving the following error in my WordPress dashboard:

    Warning: Attempt to read property “plugin” on array in?/homepages/43/d870750008/htdocs/clickandbuilds/WordPress/SouthportU3A/wp-content/plugins/advanced-iframe/advanced-iframe.php?on line?1642

    Troubleshooting this has shown that it is caused by the SiteKit by Google plug in. Although the error doesn’t appear to effect the website itself I have disabled the Sitekit plugin pending a solution.

    The website effected is southportu3a.org.uk. WordPress and all plugins are up to date.

    Thanks for any feedback.

    Ian

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @cihomewood Thanks for your comment on this. As mentioned above:

    If using PHP 8.1 depreciation notices are not uncommon, with this version still in Beta support for the latest WordPress releases. Such notices are not specific to Site Kit, with more details on WordPress support for PHP versions below:
    https://make.www.ads-software.com/core/handbook/references/php-compatibility-and-wordpress-versions/

    Note also that we’re aware of this and such errors can be disregarded, with warnings expected until PHP 8.1 is fully supported in WordPress. They also don’t impact Site Kit set up or functionality. If you find otherwise please let us know.

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