Archived topic
Empty Home page
11 replies · Started by Philippe on December 13, 2018
Hi,
Why do my homepage remains empty when I visit the website. If I do not login to get into the dashboard and then click on "Visit the website", the home page content will not appear.
Thanks for enlightening me.
It looks like you have a javascript error on the page:
Uncaught TypeError: Cannot read property 'setDefaults' of undefined
Looks like something to do with a datepicker.
Try disabling Autoptimize to see if it fixes the issue temporarily.
Thanks for your quick reply.
It seems to be working. It is a pain, though. Autoptimize helps a lot in optimizing downloading time. Is there anything further I can do than just deactivate it?
Autoptimize itself isn't the problem (we're using it on this site), but it seems one of your plugins is missing a dependency which causes the issue when scripts are re-ordered.
Can you try making it so your Autoptimize settings are similar to what we show here?: https://generatepress.com/fastest-wordpress-theme/
Ok, I do not have this weird empty homepage anymore.
Two complementary questions:
- What is a datepicker and should I be concerned about it?
- How can I go back to the different conversations I had with your support service?
Thanks again!
Hi there,
if the datepicker is throwing errors it may be better to look for an alernative.
At the top of this support page you will see a button named Forum Profile, that will take you to your forum activity.
Thank you, David.
"if the datepicker is throwing errors it may be better to look for an alernative."
Can you expand on that?
I assume you have a plugin that is using a datepicker?
I do not know. What is a datepicker and should I be concerned about it?
The datepicker is a calender that filters content by date. I can only assume you have a plugin that is registering it. Can you try disabling your plugins to see if the error shown in the browser inspector > console is removed.
I did what Tom suggested and the pb of an empty homepage is gone. I went to inspector > console and did not see any error message. So far so good.
Thank you!
Glad we could help :)