JS Error
-
Hi
I’ve just come across a strange issue with Stream on one of our websites.
On the Stream Records screen I noticed the filter buttons didn’t look right and found that they did not display the type of interactivity you usually get from them, ie date picker.
I also noticed that once this screen was loaded the WP flyout menus in the dashboard also didn’t work. Going to a different screen resolved this problem.
Looking at the debug console in GC I found this error:
select2.js?ver=3.5.2:215 Uncaught Error: No select2/compat/inputData
at callDep (https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:215:19)
at req (https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:376:20)
at https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:190:24
at new Options (https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:4922:25)
at new Select2 (https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:5046:20)
at HTMLInputElement.<anonymous> (https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:5667:26)
at Function.each (https://domain.name.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…jquery-migrate,utils,heartbeat&ver=60e9e3132302607ef67aaab672d64cf9:2:2881)
at a.fn.init.each (https://domain.name.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…,jquery-migrate,utils,heartbeat&ver=60e9e3132302607ef67aaab672d64cf9:2:846)
at a.fn.init.$.fn.select2 (https://domain.name.com/wp-content/plugins/stream/ui/lib/select2/js/select2.js?ver=3.5.2:5664:14)
at HTMLInputElement.<anonymous> (https://domain.name.com/wp-content/plugins/stream/ui/js/admin.js?ver=3.0.7:98:11)callDep @ select2.js?ver=3.5.2:215req @ select2.js?ver=3.5.2:376(anonymous function) @ select2.js?ver=3.5.2:190Options @ select2.js?ver=3.5.2:4922Select2 @ select2.js?ver=3.5.2:5046(anonymous function) @ select2.js?ver=3.5.2:5667each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2$.fn.select2 @ select2.js?ver=3.5.2:5664(anonymous function) @ admin.js?ver=3.0.7:98each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2each @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2(anonymous function) @ admin.js?ver=3.0.7:16i @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2K @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,heartbeat&ver=60e9e31……:2
content.js:623 onCompleted for https://domain.name.com/wp-admin/admin.php?page=wp_streamI have deactivated/reactivated the plugin and even deleted/installed it at one point but no change.
Any ideas?
Using the current version of Stream and WordPress.
- The topic ‘JS Error’ is closed to new replies.