Using default theme and no plugins – still PHP warnings
-
When I try to access the Customizer on the front end I get these PHP warning messages at the top of the page.
Warning: Attempt to read property “post_status” on null in /home/customer/www/my-web-site/public_html/wp-admin/includes/template.php on line 2288Warning: Attempt to read property “ID” on null in /home/customer/www/my-web-site/public_html/wp-admin/includes/template.php on line 2306
Warning: Attempt to read property “post_status” on null in /home/customer/www/my-web-site/public_html/wp-admin/includes/template.php on line 2310
Warning: Attempt to read property “ID” on null in /home/customer/www/my-web-site/public_html/wp-admin/includes/template.php on line 2315
I have deactivated ALL plugins.
I have switched to a default theme.
I have reinstalled the latest version of WP.
Nothing seems to work.
For now, I’ve simply suppressed the warnings through wp-config.php but obviously, that’s not ideal. There must be something not quite right.
I created the site on Local by Flywheel then migrated it to SiteGround.
The local dev site doesn’t show these warnings.
- The topic ‘Using default theme and no plugins – still PHP warnings’ is closed to new replies.