I am making a customized WordPress theme. In some unspecified time in the future, the “Customise” web page within the admin panel has fully damaged, giving me tons of those errors:
Discover: Making an attempt to get property 'post_status' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2233 Discover: Making an attempt to get property 'post_status' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2237 Discover: Making an attempt to get property 'post_status' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2243 Discover: Making an attempt to get property 'post_status' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2247 Discover: Making an attempt to get property 'ID' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2251 Discover: Making an attempt to get property 'post_status' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2255 Discover: Making an attempt to get property 'ID' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2260 Discover: Making an attempt to get property 'ID' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2264 Discover: Making an attempt to get property 'ID' of non-object in /var/www/html/wp-admin/consists of/template.php on line 2269
My web page appears to work simply superb in any other case, I do not get any warnings anyplace else.
How do I even start to debug this?