This topic has 7 replies, 3 voices, and was last updated 3 years, 8 months ago ago by Olga Barlow
In the XStore customization screen, I see series of errors related to finding, what looks like, missing default posts. Can you please suggest a way to resolve this?
Notice: Trying to get property ‘post_status’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2181 Notice: Trying to get property ‘post_status’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2185 Notice: Trying to get property ‘post_status’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2191 Notice: Trying to get property ‘post_status’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2195 Notice: Trying to get property ‘ID’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2199 Notice: Trying to get property ‘post_status’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2203 Notice: Trying to get property ‘ID’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2208 Notice: Trying to get property ‘ID’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2212 Notice: Trying to get property ‘ID’ of non-object in /chroot/home/a2041fc1/63d1309b10.nxcli.net/html/wp-admin/includes/template.php on line 2217
Hi
You need to update WordPress Core Files and Then disable 3-rd party plugins and activate parent theme to check errors.
Update the theme and Core plugin to new versions – https://www.8theme.com/documentation/xstore/theme-installation/theme-update/ https://www.8theme.com/documentation/xstore/plugins/plugins-update/
With All plugins disabled and the parent XStore theme enabled, I still get the same message.
Please note that I was already on the latest version of WordPress, WooCommerce and XStore plugin (including the theme).
Michael
Hello,
Could you, please, go to Appearance > Themes > install and activate Storefront theme. Check if you have the mentioned notice with the Storefront theme. Let me know about the results.
Regards
In a development environment, I installed the “Default” demo theme and the error goes away. It seems have something to do with default posts being missing. However, I can’t figure out how to restore the individual posts that would cause this error to disappear. Do you have a list of those that are required?
I’ve added many of them back, but that doesn’t seem to have resolved it.
I finally was able to solve this. I reran the import of the default theme into my theme and child checking ‘pages’ (and nothing else), but unchecking homepage and widgets. It restored whatever page was missing and by backing up my child theme and not overwriting the home page it appears to have kept my site in tact.
Hello,
Glad to hear that you sorted out. Do you need any other help from our side?
Regards
You must be logged in to reply to this topic.Log in/Sign up