• Deprecated: Creation of dynamic property Google\Site_Kit\Modules\Ads\Web_Tag::$home_domain is deprecated in?/homepages/28/d4297441503/htdocs/wordpress/wp-content/plugins/google-site-kit/includes/Modules/Ads/Web_Tag.phpon line?37

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter tommydoguk

    (@tommydoguk)

    Hi, Google ads won’t run due to Circumventing systems, Compromised Site and the ads support have flagged the WP notice above. This is a new site with WP hosting by Fasthosts UK and has not had any 3rd party Dev access. The site also passes https://transparencyreport.google.com/safe-browsing/search

    Google ads have asked me to fix the notice before they can review the ad placement.

    Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @tommydoguk. If you’d like t share the following I’d be happy to review this further:

    1. Your Site Health information. You can use this form to share privately if preferred.??
    2. Are you encountering any errors or loss of functionality on the Site Kit dashboard, or are these errors in your logs only? I ask as such deprecation errors should not impact any Site Kit functionality.

    From reviewing the error I expect you may be using the latest version of PHP, with some of the libraries in use by Site Kit requiring an update, as per this GitHub issue. If this is the case, downgrading to PHP8.1 for the time being, may ensure these no longer occur. Alternatively I can check with the team should you already be using a lower version, once we have the information requested above.

    Plugin Support James Osborne

    (@jamesosborne)

    I can see you did share your Site Health information. Many thanks. From reviewing the details I can see that you’re using PHP 8.2.24, meaning it’s not uncommon to encounter deprecation errors. These should not impact Site Kit functionality, so please do let me know if you encounter otherwise.

    I’ll also make the team aware of this and add a mention to the related GitHub issue.

    Note also that encountering deprecation errors only as a console error or within your PHP logs should have no bearing on Google Ads although you can check this with the product experts at the Google Ads Help Center.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.