Error: thickboxL10n is not defined with custom thickbox.js URL set
-
I have modified the HTML structure for thickbox.js and I am loading it through the lightbox advanced settings. Everything worked great until after I updated NextGen to 2.0.66.16.
There is now a “Uncaught ReferenceError: thickboxL10n is not defined” error showing up because the nextgen_thickbox_init.js is not outputting the CDATA with the var = thickboxL10n data defined.
If I switch it back to using
wordpress#thickbox
in the URL setting, it loads fine and the CDATA with the var = thickboxL10n data is outputted. If I set it to https://example.com/wp-includes/js/thickbox/thickbox.js, the error is back. It seems like using anything other thanwordpress#thickbox
causes the init.js not to work properly.Any help is appreciated, I need to have the modified thickbox.js loading.
Edit: No caching plugins or other lightbox plugins installed/activated.
- The topic ‘Error: thickboxL10n is not defined with custom thickbox.js URL set’ is closed to new replies.