Hi @yurbshop21!
I checked your site at https://yurbshop.com.ng and was not able to replicate the error. Can you please share with us the steps we need to follow to replicate it?
Next, can you please switch your theme to a default one like Storefront and see whether the issue is still present?
Please share your findings here 🙂
Thank you!
Thread Starter
Olufemi
(@yurbshop21)
Thanks for your recommendation, I just did switch to storefront and the issue persists
Thread Starter
Olufemi
(@yurbshop21)
Notice: Trying to get property ‘post_status’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2190
Notice: Trying to get property ‘post_status’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2194
Notice: Trying to get property ‘post_status’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2200
Notice: Trying to get property ‘post_status’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2204
Notice: Trying to get property ‘ID’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2208
Notice: Trying to get property ‘post_status’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2212
Notice: Trying to get property ‘ID’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2217
Notice: Trying to get property ‘ID’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2221
Notice: Trying to get property ‘ID’ of non-object in /home/yurbshop/public_html/wp-admin/includes/template.php on line 2226
Hi @yurbshop21
Thank you for trying my suggestion. I still think this is caused by a conflict though.
Note! Please make sure that you are performing these tests in a staging environment or you have a full backup of your site in case something goes wrong!
The best way to determine this is to:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce
- Repeat the action that is causing the problem
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.
Thank you!