Hi,
Can you please provide the output from the console and your website URL?
Thanks
Daniel
Thread Starter
shalun
(@shalun)
Hi
Website http://coolidea.ru but I installed 3.0.1 back now
Chrome Console displayed standard message:
Uncaught SyntaxError: Unexpected end of input
Firebug says:
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data jquery.min.js:4:15731
Error: Permission denied to access property “toString”
I think smth wrong with ../plugins/multi-rating/assets/js/frontend.js or there is a conflict somewhere
Looking at your page source the issue is simple. Your theme or another plugin is loading it’s own version of jQuery from Google which is causing this issue.
ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
See here for a good explanation of why this is bad: https://pippinsplugins.com/why-loading-your-own-jquery-is-irresponsible/
Thread Starter
shalun
(@shalun)
Thank you, Daniel
The link have helped.
PS. Please use minified .js files in the next version.
Thread Starter
shalun
(@shalun)
For other guys:
jquery.js must be accompanied with jquery-migrate.js
so use:
wp_deregister_script ('jquery-core' )
instead of:
wp_deregister_script ('jquery' )