Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1023040

    I have an issue with the advanced layout editor not loading. What I am doing to replicate this is creating a new page, activating advanced layout editor and then adding nothing other than a text block and in it (in the text-only side) creating an unordered list.

    When I create a UL list using the toolbar in the editor it seems fine. When I try to copy and paste content, properly formatted with opening/closing UL and LI tags, the editor gets stuck in an endless load loop. Even when I try to take the content as text and then build the UL using the editor toolbar, it makes the problem of the editor not loading.

    Copy and pasting any text without formatting doesn’t cause a problem though.

    Weird thing to is in this site I am building, there are already numerous other pages with text blocks which have nested lists (and I can guarantee 100% that the html list syntax is correct–I’ve been over this all day, even constructing a simple list with just one LI within one UL, and both properly closed. So this is very strange)

    (I’ve also disabled the visual editor in WP settings as this always made problems)

    I have also done all of these things to no avail: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#layout-builder-is-not-loading-properly

    I am running WP 4.9.8, Enfold 4.3 and PHP 7.0. Only plugins enabled are: Contact Form 7, Simple Links (replaces old link manager) and a Youtube plugin.

    Googling this, I’ve read of all sorts of causes for others over the years having the adv. editor not loading, so hard to tell.

    Have also dumped browser cache and used other browsers (latest Firefox, Opera, Chrome etc. all do the same problem)

    • This topic was modified 6 years, 2 months ago by rankbrite.
    #1023061

    Same problem… after update to (4.5) Advanced Layout Editor no longer working no matter what. Before update everything was fine. Been trying everything for hours and days.

    Cannot edit any pages in any way
    Media is not showing in media library either
    “Envato private token” doesn’t function – just hangs, then nothing but ‘can’t connect’ Last time we checked the token we were not able to connected to Envato:
    Purchases could not be accessed
    Username could not be accessed (needed for your information only)
    E-Mail could not be accessed (needed for your information only)

    ERROR As reported in ‘console’ inspector:
    Uncaught TypeError: b(…).not(…).filter(…).mediaelementplayer is not a function
    at HTMLDocument.a (wp-mediaelement.min.js?ver=4.9.8:1)
    at j (iep_main_js.js?ver=4.9.8:2)
    at Object.fireWith [as resolveWith] (iep_main_js.js?ver=4.9.8:2)
    at Function.ready (iep_main_js.js?ver=4.9.8:2)
    at HTMLDocument.J (iep_main_js.js?ver=4.9.8:2)

    Help.

    • This reply was modified 6 years, 2 months ago by zOrg.
    #1023071

    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?

    #1023150

    I’ve managed to correct the issue after many hours of troubleshooting. There were several simulations issues in a specific combination – while some may be useful for others, this specific set of issues is most likely unique to my build so I’m not going to bother taking the time to make a detailed report here.

    Bottom Line: It’s all about the fundamentals – Clean builds are key, perfect backups to reload WP & Enfold are crucial, and when dealing with many 100’s of customers with full accounts on woocommerce – download a reloadable CSV and know how to do it correctly and clean.

    It was quicker and ultimately better to start with a clean, updated new build and then re-populate using the backup data.

    No shortcuts, no fancy work-around code or database stunts. None of that worked.

    #1023164

    Still not working for me. Am running a very simple site. No Woocommerce etc. Very few pages. Have even disabled WP “Heartbeat”.

    #1023205

    Hi,

    Thanks for the update. First off, could you try updating the theme to the latest version (4.5) to see if that helps please? https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update. Please note that you might have to delete the old version before you upload the new one in order for it to install properly, or use a plugin like this in order to upload the new zip file: https://wordpress.org/plugins/update-theme-and-plugins-from-zip-file/.

    Best regards,
    Rikard

    #1023565

    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?

    #1023749

    Hi,

    Thanks for the feedback. I tried creating a test page with a simple list on in, though I’m not seeing the builder getting stuck. Please see private. What exactly do we need to do to reproduce it?

    Best regards,
    Rikard

    #1023754

    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.
    #1024012

    Hi rankbrite,

    Glad you got it working for you and thank you for sharing! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.