Error Message on frontend and backend

Hi,

I am getting this error message on frontend and backend.

Notice : Undefined property: stdClass::$theme_location in …/wp-content/themes/pro/framework/functions/plugins/woocommerce.php** on line 466

I was getting this message in cornerstone only. To make a plugin test, I deactivated woocommerce and ubermenu (there is a cart item on the ubermenu), and after reactivating woocommerce, I started getting this error on the fronted too.

I highly appreciate your help.

Attached you can find the login credentials.

Thank s a lot!

Hi Gunes,

Thanks for reaching out.

The reason why you are seeing the PHP notices is that the WP_DEBUG & WP_DEBUG_DISPLAY was enabled in your wp-config.php. I strongly advise you that you disabled it because they are just intended for fixing some PHP code.

To do that, you can use FTP or go to your Cpanel file manager and go to the root directory. In your root directory, please locate the wp-config.php and edit the file.

After that, locate the WP_DEBUG. Currently, the WP_DEBUG was set to true and I want you to change it to false.

On the other hand, if you can’t see the WP_DEBUG_DISPLAY, please add it below your WP_DEBUG.

define( 'WP_DEBUG_DISPLAY', false );

Hope that helps and let us know how it goes.

Thank you.

@cramaton, thank you so much for the great help!

Hi Gunes,

You’re welcome and it’s our pleasure to help you. If you have any other concerns, feel free to reach us.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.