I am also receiving this errors:
[13-Jan-2021 14:57:38 UTC] PHP Warning: Unable to load content from post. in /home/[user]/public_html/dev01/wp/wp-content/plugins/cornerstone/includes/classes/elements/class-element-front-end.php on line 95
I am also receiving this errors:
[13-Jan-2021 14:57:38 UTC] PHP Warning: Unable to load content from post. in /home/[user]/public_html/dev01/wp/wp-content/plugins/cornerstone/includes/classes/elements/class-element-front-end.php on line 95
Hey @christian,
I have removed cloudflare rocket loader and any other type of caching or optimization for all of the files of the staging site. This problem is still persisting.
I hope when this issue is resolved I can continue using these optimizations as they were working prior to this error occurring and they greatly increase the speed of the website.
Thanks!
It seems to be specifically the loading of the “tco-loader-canvas” that causes the 524 error when trying to render the live view of the website while using the theme editor or any of the cornerstone visual editors (global blocks and content). Otherwise the website works perfectly fine. I can even make edits on the theme editor or global block/content editors, it’s only that the “tco-loader-canvas” div hangs for an unusually long time before either throwing a 524 error or eventually loading after 200/300 seconds (which is sporadic).
One thing that I do notice in my editor is that the url is: /x/global-blocks/15850, are there just too many items that it has to parse through? How could I remove some?
Hey @michigancreative,
One thing is for sure and that this issue is a conflict with your web host. Here’s another thing to try. Ask your web host to ensure that url_fopen
and output_buffering
is enabled in their server.
Would you also mind providing staging server access?
Thanks.
Hey @christian,
I have had my hosting provider enable both of those on the server, as suggested.
I can provide you with cpanel access, would that work? I have added it as a private note.
Thanks!
I’m sorry for all the back and forth here, and hope we can get to a resolution soon. Something seems to be going on with large POST requests. I tried installing this plugin: https://github.com/Rarst/laps To do so you have to download the zip and upload via the plugin uploader. Even after several minutes it doesn’t upload and still says “waiting”.
What you’re seeing with the loader canvas not being removed is actually because the iframe is trying to load the current page in the iframe. It can’t remove the preloaded until that finishes. Here’s an example of it being “pending” which can be seen in the developer tools.
After over a minute, usually it finally completes. It’s actually using the same URL as the front end of the site (the About page in this case) but the only difference is in the preview we do a POST request instead of a GET request.
From what I’m seeing it seems like the inability to install a plugin may be a symptom of the same root cause (very long POST requests).
Could you please check with your hosting provider and ask them to try installing a plugin via the upload plugin button? It would be very helpful if they can advise why it takes so long. Perhaps this is a more isolated issue that will be easier for them to understand and track down. Specifically, it would be good to test the laps.zip
file that can be downloaded from the GitHub URL linked above.
It’s a long shot but I’m wondering if they have some kind of automatic security system that runs on all POST and upload requests. If that’s the case it would be introducing delays in many places.
Thank you!
Hey @alexander,
Sorry for the multiple replies. Disregard my last comment. I have had my hosting provider remove a mod_security rule that was causing the error with uploading the plugin. However this did not fix the issue with my loading of the iframe. Any other ideas?
Thanks!
Hey Alexander,
Any updates? I am still running into the issue and our hosting provider has checked everything without much luck.
Thanks
I’m sorry for the delay getting back to you. We’ve seen a similar problem where servers are rejecting large POST rejects on other sites and added some client side compression in a few places. We’ve also done some other performance enhancements in the builder preview. I’ve installed a development build on your staging site. It seems to all be working now. Can you take a look and let me know if there are any outstanding problems? We anticipate the official release being early next week at which point you can safely update via automatic updates.
Glad to hear that! You’re most welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.