• Resolved markisu72

    (@markisu72)


    Hi guys,

    I already did some research and tried some proposed fixes but nothing helped.
    We are on WP 5.5 and the latest Elementor 3.0.5 but since some time (don’t know exactly since which update of WP or Elementor), we always get the error popup “AjaxURL has NOT been defined” when trying to edit a page with Elementor.
    It happens with blank new pages as well as with existing ones.

    After closing the message, editing seems to work ok and there are also no JS errors in the frontend as far as I can see.
    We also use Caldera Forms with Ajax in the frontend without any issue.

    Thus, it seems to be just a problem with Elementor in edit mode.
    But, frankly, this does not give me any relief.

    Any clue how to fix this?

    Thanks
    Markus

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Which potential fixes have you tried?

    This error literally means that the ajaxurl variable of WP has not been defined.
    Now, we need to figure out which plugin did not define it.

    Does the safe mode help?
    https://docs.elementor.com/article/480-what-is-safe-mode

    It probably happens when one specific plugin is active.
    If it is the case, let me know which one it is.

    Thread Starter markisu72

    (@markisu72)

    Hey mate,

    you showed me the right direction!
    In safe mode, everything was fine so I investigated a bit and it turned out, the issue disappeared as soon as I disabled “WP Fastest Cache”, which was kind of strange.

    So I digged deeper and since I have a WP Fastest Cache integration with Cloudflare, I also checked the settings there – and there was the issue…
    I must have accidentally enabled the Cloudflare Rocket Loader plugin which plays with loading JS files asynchronously… not an issue in the front end but when editing…

    So, issue identified and solved.

    Thanks a lot
    Markus ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AjaxURL has NOT been defined’ is closed to new replies.