Archived topic
Customizer Preview loading issues
7 replies · Started by Brian on May 4, 2022
Hi,
I am having a problem. I have a few sites which are all up to date as far as wordpress, plugins, themes, php and mysql are concerned. I use cloudflare on the sites too. The problem I am having which seems to come up frequently is whenever I use the customiser to change anything (I am using gp and gp premium), it seems to take forever to update the preview and a lot of the time it remains stuck in a continual dark faded screen with the mouse busy icon turned on. Is there anything that I can do to fix the problem?
I look forward to hearing from you.
Kind Regards,
Brian Thompson
Hi there,
first thing to check for is an issue at the browser level.
What happens if you login in using a different browser in Private/Incognito mode ? This will eliminate caches, cookies and browser extensions causing an issue.
Let me know.
Hi David,
Thanks for getting back to me. I updated firefox to their latest version (100.0) but there it made no difference. Then I tried loading it on safari and it just came up as a blank screen more or less Version 13.1.2 (13609.3.5.1.5). Then I tried loading it on chrome (Version 101.0.4951.54) and it previewed and loaded without a hitch. The problem must be browser based. I wonder is it down to the cookie settings? Thanks for your help.
Kind Regards,
Brian Thompson
Cookies could be an issue, they may have attached some localStorage data or nonce key for login thats gone bad.
Hi David,
I have tried "refreshed firefox" and deleted all caching but the problem is still there. I can just use chrome then. I reviewed another website and its seems to be working in firefox. I looked at the hosting and it was php 7.2 where as the site I am working on was 7.3 I tried tinkering around putting the one I am working on back and putting the test up and then putting them both up to 7.4. I still haven't resolved the problem. I also realised that the site I am working on is using a child theme of generatepress whereas the other one isn't. Could that cause a problem? Also, I've had a big orange warning coming up at the top of one of the pages I am trying to make changes to which says "Updating failed. The response is not a valid JSON response." Any bit of advice or help would be much appreciated.
Kind Regards,
Brian Thompson
site I am working on is using a child theme of generatepress whereas the other one isn’t. Could that cause a problem?
Usually it won't, but that's possible if there's some custom functions. Can you try switching back to the parent theme to test?
And if you are using Cloudflare, the cause might be the firewall blocking requests from WP, try this solution: https://community.cloudflare.com/t/firewall-blocking-wp-editor-updates/158089/4
Hi David & Ying,
This issue is now sorted.Thank you for all your help. I Purged the cloudflare cache amongst other tweaking aswell and it seems to be sorted. Also, in relation to the error notice that I posted, I found out afterwards that the plugin "ultimate FAQ" is to blame after I updated it a few days ago.
Once again Thank you.
Kind Regards,
Brian Thompson
Glad you sorted it out :)