[ad_1]
How do I fix a PHP warning triggered by Site Kit? I recently installed Site Kit for new Analytics protocol. Immediately started getting a PHP warning in my error log:
Attempt to read property “post_type” on null in /home/i4jmmr7g7ujw/public_html/[mysite.com]/wp-includes/class-wp-query.php on line 4365
I de-activated Site Kit 12 hours ago, and the warnings stopped. I just re-activated, and the warnings started, again.
Not sure if this is relevant, but our site has no custom post type.
