Error on the homepage when logged in
-
An error page appears the moment you are logged in and go to the homepage. However, when you are logged out, the homepage displays correctly. What could be the problem here? I have posted the error message from the logs in the private section, along with a temporary login so you can see what the problem is.
I have also uploaded a photo showing the problem.
Attachments:
You must be
logged in to view attached files.
Hello,
Your issue has been resolved. This error occurs only for logged-in users on the homepage because a product category contains an error instead of a valid string, which esc_url() cannot process. Please check your site and check how it works.
Best Regards
Hello, the problem persists with the 2 email addresses I sent you. As soon as they are logged in and go to the home page, they still receive the error message.
The temporary login for this website still works.
Attachments:
You must be
logged in to view attached files.
Hello,
I have checked your site and found the issue in the homepage Categories element configuration.
I edited the homepage and changed the Categories widget data source from Custom to WooCommerce Query, and now the homepage works fine for logged-in users as well.
Please clear all the cache and check the site again.
Best Regards
Yes it works again.
Thank you!
Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
The topic ‘Error on the homepage when logged in’ is closed to new replies.