wpDiscuz Comment JS not properly loading
-
Hi,
I’ve struggled with this for some time and it only happened once in a while, but I’ve gotten to the point where I’d like to fix this. The issue affects non-logged in users and sometimes logged in users too.
This issue appears to ONLY occur on Desktop, not Mobile, browsers.
From time to time, the “View Comments” button does not work, rendering the entire wpDiscuz plugin unusable until the Minify and Page Caches are purged in WPO and sometimes also “Purge Everything” on Cloudflare cache. Disabling WPO fixes the issue every time, and that tells me the problem is with WPO.
In Browser debug, it shows the following errors before I excluded wpDiscuz:
“WP-Optimize Minify: An error has occurred in the minified code. Original script: https://…/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz.js. Error message: WpdEditor is not defined”I later excluded processing of JS and CSS for:
/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz-combo.min.js
/wp-content/plugins/wpdiscuz/assets/js/wpdiscuz.js
/wp-content/plugins/wpdiscuz/themes/default/style.css
/wp-content/plugins/wpdiscuz/assets/css/wpdiscuz-combo.min.css… and turned off minify of JS/CSS within the wpDiscuz settings. The following message is shown in the browser debug:
“Uncaught ReferenceError: WpdEditor is not defined at wpdiscuz.js:1 (anonymous) @ wpdiscuz.js:1”
Disabling WPO plugin restores wpDiscuz functionality.
What do I need to turn off/exclude to allow wpDiscuz to function without interference by WPO?
Thank you for any pointers you can provide.
The page I need help with: [log in to see the link]
- The topic ‘wpDiscuz Comment JS not properly loading’ is closed to new replies.