Critical JS Error (ajaxurl is not defined) breaking XStore widgets in Elementor

This topic has 6 replies, 2 voices, and was last updated 1 week, 4 days ago ago by Andrew Mitchell

  • Avatar: anli75
    anli75
    Participant
    July 13, 2026 at 14:55

    Hi support team,

    I am experiencing a critical issue on my website where an XStore widget (specifically, a materials/tabs layout) suddenly disappeared from the front-end and the Elementor editor on my main language page (Italian), while it is still visible on the English translated page.

    When analyzing the console, I found the following JavaScript error caused by the theme’s app.js file:
    Uncaught (in promise) ReferenceError: ajaxurl is not defined

    This error completely breaks the rendering of the XStore widget inside Elementor, showing an empty space or a gray anchor instead of the actual content. I temporarily managed to restore the visibility by rolling back to an older page revision from May, but the JS error is still active under the hood, and I am afraid it will disappear again upon the next update.

    Could you please check why ajaxurl is not being properly defined or localized within the theme’s app.js file when Elementor is active?

    I can provide website credentials if needed.

    Thank you in advance for your help!

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 14, 2026 at 06:10

    Hello, anli75,

    Thank you for contacting us.

    We appreciate the detailed information you have provided regarding the issue with the XStore widget and the JavaScript error related to the ajaxurl variable. We understand how important it is to have your website functioning properly.

    Please provide us with temporary WordPress admin access and FTP credentials in a secure way (for example, using the private content area of our support system), so that we can investigate the problem directly on your website. Once we have access, our development team will check why the ajaxurl variable is not being properly defined in the app.js file when Elementor is active and will provide a suitable solution.

    Thank you for your cooperation and patience.

    Best Regards,
    8Theme’s Team

    Avatar: anli75
    anli75
    Participant
    July 14, 2026 at 08:49

    Thanks for your cooperation; you have the login details… We find it a bit slow, though I’m not sure if that’s due to the WPML plugin—we’ve noticed it doesn’t communicate very well with XStore.

    Content is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 14, 2026 at 14:16

    Thank you for providing access. We have fixed the issue with the script, but we kindly ask you to additionally clear the cache (server, website, and browser) as well as the CDN cache (if applicable)

    Best regards,
    The 8Theme Team

    Avatar: anli75
    anli75
    Participant
    July 15, 2026 at 09:47

    Thank you for your cooperation.
    Was it an update that caused the problem?
    Could it happen again?
    Thanks.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 15, 2026 at 14:00

    Hello, anli75,

    The main reason for this issue is a cache malfunction. We kindly ask you to clear the cache after each update, whether it concerns the theme or any plugins, as the automatic cache refresh does not always work correctly.

    Best regards,
    8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.