Notifications
Clear all

404 error  

  RSS

tostring
(@tostring)
New Member
Joined: 1 month ago
Posts: 1
18/02/2020 12:01 pm  

I found a 404 request error in your plugin,It will request /wp-content/plugins/wpdiscuz/assets/third-party/wpdcookiejs/customcookie.js.I did not find this file in the corresponding directory.I wonder if the developer wrote the wrong code.


Quote
Elvina
(@elvina)
Honorable Member Moderator
Joined: 7 months ago
Posts: 685
18/02/2020 12:48 pm  

Hi @tostring,

This will be fixed in the next version update.

In case if you want to fix it as soon as possible please follows the steps below to get it resolved:

1. Open the /wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php file

2. Find the following line (1068 line):

wp_register_script('wpdiscuz-jquery-cookie', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdcookiejs/customcookie.js'), array('jquery'), $this->version, true);

3. Replace with the following one:

wp_register_script('wpdiscuz-jquery-cookie', plugins_url(WPDISCUZ_DIR_NAME . '/assets/third-party/wpdccjs/wpdcc.js'), array('jquery'), $this->version, true);

Don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.


ReplyQuote
Share: