Forum Replies Created
-
AuthorPosts
-
Hi Jordan, yes please, close. Thanks again.
Hi Mike, a very appreciated, belated thank you!!
I’ve found something really weird. When I create a new page, launch the advanced editor and drop a text box on it (nothing else) I can reproduce this if I add the string “10 or 11” into any HTML tags, eg:
<p>10 or 11 </p>
or
<ul> <li>10 or 11</li> </ul>
I found that this is what is causing the error. As if there is some script getting confused, thinking there is some boolean operation pending. (which makes no sense, as anything within properly formed markup tags will render as a string)
Thankfully I could fix this error by cutting the part of the code which was causing the error on the page out of the debug window.
I did try this on another site with the same version of PHP, WP, and Enfold and couldn’t reproduce it.
(the host said they did whitelist the admin-ajax.php file)
- This reply was modified 6 years, 2 months ago by rankbrite.
Hi Rikard,
I just updated Enfold to 4.5 and I still get error with the editor loading. Funny thing is that the editor loads initially and will allow me to drop just a text box on the page and lets me add just text. When I go to save/refresh the page, the adv. editor loads no problem.
The problems always come whenever I try to add a UL html list. (either in the visual editor or the text-only one. Happens even when I disable the visual editor. Happens even when I create a new user too).
So, I reached out to the host who told me: “We have checked mod-security issue and could see that there was one URL was affected ie /wp-admin/admin-ajax.php. As per your request we have whitelisted it for you”.
Despite this, I still see the 404 error I mentioned earlier when I open up the browser’s inspector under console.
It’s very strange that this one particular thing causes the adv. editor not to load.
Have you ever heard of anything like this?
Still not working for me. Am running a very simple site. No Woocommerce etc. Very few pages. Have even disabled WP “Heartbeat”.
Update: When I get this error with the page not loading and then open up the browser’s inspector, (“inspect element”) and go to “Console”, I see “Failed to load resource: the server responded with a status of 404 (Not Found)” for wp-admin/admin-ajax.php:1
When I Google “admin-ajax.php 404”, there are scores of recent WP problems with this due to an update.
Wonder if this is the cause and how to debug this further?
Hi Basilis,
I just had to adjust this a bit and it works! Thanks!
Hi Mike, Thanks a lot that did the trick!
Wonder what the cause of this was for that layer to not resize properly on mobile?This reply has been marked as private.Hi,
This code seems to work perfectly when the phone is in landscape mode but not portrait mode.It seems to be related to this – the caption of the fullwidth easy slider doesn’t adjust properly to mobile (while the background images are fine):
- This reply was modified 6 years, 6 months ago by rankbrite.
Thanks for this – but it doesn’t seem to work for me on mobile.
Could it be something about the rendering of the footer widget itself that makes it behave differently than the other elements?Sorry about that, fixed the link.
-
AuthorPosts