It seems to be a simple problem, but I can not find the answer.
When disabling caching, everything works fine. With caching turned on, enable the following javascript that returns the "Wordpress Page Error Page Error" error.
http: //myserver/wp-content/plugins/myplugin/js/jquery.cycle.all.min.js
I will disable the cache using the Firefox web developer tool, but I don't see that this should have anything to do with the problem. For some reason, Wordpress cannot find the legit file.
The script is correctly registered and queued with the following code:
wp_register_script("jquery.cycle.all.min.js", $plugin_url . '/js/jquery.cycle.all.min.js', 'jquery'); wp_enqueue_script("jquery.cycle.all.min.js");
fred2
source share