Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hello,
the missing Cookie library JS error prevents the visual editors to work properly in Settings > Phrases > Follow, for instance.
While waiting for the fixed plugin version, I fixed by commenting these lines:
// wp_register_script('wpdiscuz-jquery-cookie', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdcookiejs/customcookie.js'), array('jquery'), $this->version, true);
// wp_enqueue_script('wpdiscuz-jquery-cookie');
and added just below them, these lines:
// --- tmp fix for missing Cookie library ---
wp_register_script('wpdiscuz-cookie-js', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdccjs/wpdcc.js'), array('jquery'), $this->version, $this->optionsSerialized->isLoadScriptsInFooter);
wp_enqueue_script('wpdiscuz-cookie-js');
code taken from same libraries enqueued for frontend, hoping it's okay but it looks like so by now.
Hi @drlightman,
Thank you for sharing the code.
We know about the issue and this will be fixed in the next version update.