9smiths Posted December 10 Share Posted December 10 (edited) Hi, in the console section of my browser (Ctrl+Shift+J) I'm getting a bunch of JQuery errors in my admin panel, on the Module configuration screens and on the main Dashboard. And the screens with these errors don't work correctly, most of the module configuration screens are unresponsive so I can't make any changes, and the Dashboard screen is empty and shows no information. It started when I troubleshot my website outtage on Black Friday, which I ended up fixing by updating all my modules after contacting Hostgator several times and they claimed to fix things in different ways such as "clearing applications" or "optimizing the server" and at one point vaguely stating it was "permanently fixed." But I suspect that whatever caused the outtage to begin with is the cause of these errors. I have prestashop version 8.1.6 Hostgator is my host provider Php version is 8.3 Here are all the console errors: jquery-3.5.1.min.js:3 Uncaught SyntaxError: Unexpected token '?' (at jquery-3.5.1.min.js:3:4412) bo-migrate-mute.min.js:25 Uncaught ReferenceError: jQuery is not defined at bo-migrate-mute.min.js:25:1 (anonymous) @ bo-migrate-mute.min.js:25 jquery-migrate-3.1.0.min.js:2 Uncaught ReferenceError: jQuery is not defined at jquery-migrate-3.1.0.min.js:2:1 (anonymous) @ jquery-migrate-3.1.0.min.js:2 jquery.live-polyfill-1.1.2.min.js:6 Uncaught ReferenceError: jQuery is not defined at jquery.live-polyfill-1.1.2.min.js:6:136 at jquery.live-polyfill-1.1.2.min.js:6:144 (anonymous) @ jquery.live-polyfill-1.1.2.min.js:6 (anonymous) @ jquery.live-polyfill-1.1.2.min.js:6 jquery.scrollTo.js:7 Uncaught ReferenceError: jQuery is not defined at jquery.scrollTo.js:7:2494 at jquery.scrollTo.js:7:28 at jquery.scrollTo.js:7:2342 (anonymous) @ jquery.scrollTo.js:7 (anonymous) @ jquery.scrollTo.js:7 (anonymous) @ jquery.scrollTo.js:7 jquery.alerts.js:235 Uncaught ReferenceError: jQuery is not defined at jquery.alerts.js:235:4 (anonymous) @ jquery.alerts.js:235 jquery.chosen.js:478 Uncaught ReferenceError: jQuery is not defined at jquery.chosen.js:478:3 at jquery.chosen.js:1166:4 (anonymous) @ jquery.chosen.js:478 (anonymous) @ jquery.chosen.js:1166 jquery.autosize.js:7 Uncaught TypeError: e is not a function at jquery.autosize.js:7:656 at jquery.autosize.js:7:73 at jquery.autosize.js:7:101 (anonymous) @ jquery.autosize.js:7 (anonymous) @ jquery.autosize.js:7 (anonymous) @ jquery.autosize.js:7 jquery.fancybox.js:46 Uncaught ReferenceError: jQuery is not defined at jquery.fancybox.js:46:386 (anonymous) @ jquery.fancybox.js:46 jquery.growl.js:14 Uncaught ReferenceError: jQuery is not defined at jquery.growl.js:14:3 at jquery.growl.js:218:4 (anonymous) @ jquery.growl.js:14 (anonymous) @ jquery.growl.js:218 jquery.ui.core.min.js:4 Uncaught ReferenceError: jQuery is not defined at jquery.ui.core.min.js:4:4148 (anonymous) @ jquery.ui.core.min.js:4 jquery.ui.widget.min.js:4 Uncaught ReferenceError: jQuery is not defined at jquery.ui.widget.min.js:4:6347 (anonymous) @ jquery.ui.widget.min.js:4 jquery.ui.mouse.min.js:4 Uncaught ReferenceError: jQuery is not defined at jquery.ui.mouse.min.js:4:2700 (anonymous) @ jquery.ui.mouse.min.js:4 jquery.ui.slider.min.js:4 Uncaught ReferenceError: jQuery is not defined at jquery.ui.slider.min.js:4:10061 (anonymous) @ jquery.ui.slider.min.js:4 jquery.ui.datepicker.min.js:5 Uncaught ReferenceError: jQuery is not defined at jquery.ui.datepicker.min.js:5:3629 (anonymous) @ jquery.ui.datepicker.min.js:5 jquery.ui.datepicker-en.js:3 Uncaught ReferenceError: jQuery is not defined at jquery.ui.datepicker-en.js:3:1 (anonymous) @ jquery.ui.datepicker-en.js:3 bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6:37 (anonymous) @ bootstrap.min.js:6 theme.bundle.js:32 Uncaught ReferenceError: $ is not defined at theme.bundle.js:32:1 at theme.bundle.js:32:95 (anonymous) @ theme.bundle.js:32 (anonymous) @ theme.bundle.js:32 jquery-ui-timepicker-addon.js:1325 Uncaught ReferenceError: jQuery is not defined at jquery-ui-timepicker-addon.js:1325:4 (anonymous) @ jquery-ui-timepicker-addon.js:1325 help.js:26 Uncaught ReferenceError: $ is not defined at help.js:26:1 (anonymous) @ help.js:26 notifications.js:25 Uncaught ReferenceError: $ is not defined at notifications.js:25:1 (anonymous) @ notifications.js:25 admin.js?v=8.1.6:688 Uncaught ReferenceError: $ is not defined at admin.js?v=8.1.6:688:1 (anonymous) @ admin.js?v=8.1.6:688 tools.js?v=8.1.6:746 Uncaught ReferenceError: $ is not defined at tools.js?v=8.1.6:746:1 (anonymous) @ tools.js?v=8.1.6:746 create_product.bundle.js:176 Uncaught TypeError: s(...) is not a function at create_product.bundle.js:176:8 at create_product.bundle.js:176:26 at create_product.bundle.js:176:54 (anonymous) @ create_product.bundle.js:176 (anonymous) @ create_product.bundle.js:176 (anonymous) @ create_product.bundle.js:176 ps_emailalerts.js:20 Uncaught ReferenceError: $ is not defined at ps_emailalerts.js:20:1 (anonymous) @ ps_emailalerts.js:20 dashboard.js:261 Uncaught ReferenceError: $ is not defined at dashboard.js:261:1 (anonymous) @ dashboard.js:261 date-range-picker.js:585 Uncaught TypeError: Cannot read properties of undefined (reading 'fn') at date-range-picker.js:585:5 at date-range-picker.js:733:2 (anonymous) @ date-range-picker.js:585 (anonymous) @ date-range-picker.js:733 calendar.js:313 Uncaught ReferenceError: $ is not defined at calendar.js:313:1 (anonymous) @ calendar.js:313 index.php?controller=AdminDashboard&token=10049830273ace6aaf270bc85dd49016:213 Uncaught ReferenceError: $ is not defined at index.php?controller=AdminDashboard&token=10049830273ace6aaf270bc85dd49016:213:9 (anonymous) @ index.php?controller=AdminDashboard&token=10049830273ace6aaf270bc85dd49016:213 index.php?controller=AdminDashboard&token=10049830273ace6aaf270bc85dd49016:1 <meta name="apple-mobile-web-app-capable" content="yes"> is deprecated. Please include <meta name="mobile-web-app-capable" content="yes"> admin-theme.js:113 Uncaught ReferenceError: $ is not defined at admin-theme.js:113:1 (anonymous) @ admin-theme.js:113 Here's what I tried to isolate or fix the issue: - Renamed all but one module folder (blocktopdropdownmenu) via FTP to effectively disable them, the Dashboard and remaining module still had the errors. - Renamed the blocktopdropdownmenu module folder by itself, all other modules and dashboard still recieve the errors. - Cleared Cache - Disabled cache settings - Changed my HostGator PHP settings (memory_limit to 512M) (max_execution_time to 300 seconds) - Renamed the override folder and cleared cache before testing - Manually delete var/cache folder several times - Manually checked various header files in my themes folder for empty white spaces before the php tag - Change Php version of site from 8.3 to 8.2 and 8.1 I may be missing things I've tried but they've all been along the same vain of what I listed, any help would be greatly appreciated because as you can see I am swamped with this issue. Solved: downloaded a fresh copy of prestashop 8.1.6 and replaced the Jquery file in js/jquery/jquery-3.5.1.min.js Edited December 10 by 9smiths solved (see edit history) Link to comment Share on other sites More sharing options...
9smiths Posted December 10 Author Share Posted December 10 Okay I solved it, I downloaded a fresh copy of prestashop 8.1.6 and replaced the Jquery file in js/jquery/jquery-3.5.1.min.js Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now