• Resolved marxgal

    (@marxgal)


    Hi,

    This was in my error log:

    PHP Warning: Undefined array key “disallowAdsPersonalization” in /home/mysitename/public_html/wp-content/plugins/google-site-kit/includes/Modules/Analytics_4.php on line 1453

    Not breaking anything, just a warning. Figured I’d let you know.

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

    (@adamdunnage)

    Hello @marxgal, thanks for raising this with us.

    These warnings are not uncommon when using PHP 8 and above. These should not impact Site Kit functionalitywhich it doesn’t sound like it is for you which is good to know.

    I’ll also make the team aware of this and we do have a similar GitHub issue open. Once discussed with the team I can update you here.

    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.

    If you do start to notice this impacting Site Kit functionality then please do let me know and I will be happy to help!

    Thread Starter marxgal

    (@marxgal)

    @adamdunnage no dramas… btw got a different error today:

    PHP Warning: Attempt to read property “post_type” on null in /home/mysitename/public_html/wp-content/plugins/google-site-kit/includes/Modules/Analytics_4.php on line 2033

    Again, not breaking anything, just a warning.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @marxgal Thank you for sharing the other message you have seen. I will make a note of this one also and let the team know but it’s good to know there is no impact on your Site Kit at this time.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @marxgal Just to confirm that the reported issue should no longer show. If you do encounter any further issues or warnings then please let us know.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Undefined array key “disallowAdsPersonalization”’ is closed to new replies.