Uncaught ReferenceError: etTheme is not defined

This topic has 2 replies, 2 voices, and was last updated 3 weeks, 5 days ago ago by Andrew Mitchell

  • Avatar: MeuMouse.com
    MeuMouse.com
    Participant
    January 2, 2026 at 14:32

    themePjax.min.js:1 Uncaught ReferenceError: etTheme is not defined
    at themePjax.min.js:1:1234
    at themePjax.min.js:1:8910

    Fix problem:
    Add handle dependency on Etheme_PJAX.php on method enqueue_scripts():

    wp_register_script(
                'etheme_pjax',
                ETHEME_BASE_URI . 'js/themePjax.min.js',
                [ 'jquery', 'etheme' ],
                null,
                true
    );


    After fix problem, filters not loading:
    Problem on filters after fix problema

    1 Answer
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 2, 2026 at 15:09

    Hello, MeuMouse.com,

    Thank you for your message and for sharing the details of the issue. We appreciate the information and the proposed fix regarding the dependency handling in the enqueue_scripts() method.

    Please note that after applying the modification, if the filters are not loading correctly, we recommend clearing the site and browser cache, as well as checking if any third-party plugins or custom scripts are affecting the Pjax functionality. Additionally, ensure that all required scripts are properly enqueued and that there are no JavaScript errors in the browser console that could interrupt the filter loading process.

    If the problem persists, please provide temporary admin and FTP access in a secure private message so that our technical team can investigate the issue directly on your site and apply the necessary corrections.

    Best Regards,
    8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 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.