• Resolved Helison S. Cruz

    (@detonasaurus)


    Hello, I’m facing a strange error when I activate the plugin “Uncaught ReferenceError: wp is not defined” in the browser console, the line pointed by the error contains:

    <script type="text/javascript" id="wp-i18n-js-after">
        /* <![CDATA[ */
        wp.i18n.setLocaleData({
            'text direction\u0004ltr': ['ltr']
        });
        /* ]]> */
    </script>

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Val Meow

    (@valwa)

    Hey @detonasaurus! 👋

    I visited your site with the provided link but couldn’t see the issue happening. Have you already solved it or maybe disabled the plugin? If you could temporarily enable it so I can check the issue directly, that would be helpful.

    This kind of error message usually happens when the WordPress dependencies aren’t loaded when a script needs them, but the lightbox should load them as expected. I also couldn’t reproduce this issue using the latest version.

    Let me know if you have any other information!

    Thread Starter Helison S. Cruz

    (@detonasaurus)

    Hi @valwa !

    The error disappeared after the last update. I reactivated the plugin today in case you want to check it out.

    Thread Starter Helison S. Cruz

    (@detonasaurus)

    Hi @valwa ! Me again!

    The error didn’t go away; when I cleared my cache, it reappeared. The plugin remains active for you to check.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught ReferenceError: wp is not defined’ is closed to new replies.