Uncaught TypeError: this.resetImgSrc is not a function
-
Theme Twenty Seventeen main page gets Uncaught TypeError: this.resetImgSrc is not a function errors shown in the java console. Some thumbnail images fail to load.
The individual pages function normally.The individual pages loaded as expected, the Twenty Seventeen home page which displays several pages gets these error messages
Woocomerce option for NextGen is enabled.
however image resizing on upload. (Other Options) was disabled.
Enabling this option corrected the front page errors.HOWEVER…. This situation should be handled better by the code!
There was no error indication to the user except for the console messages.
Images were already “uploaded” so it is not clear how this option is related to the home page display. Some thumbnail images loaded others did not, even after clearing the browser cache and CDN copies.From the console: (same message repeated 13 times)
query-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
justified-gallery-3.8.1-modded.js?ver=3.8.1:225 Uncaught TypeError: this.resetImgSrc is not a function
at HTMLImageElement.<anonymous> (justified-gallery-3.8.1-modded.js?ver=3.8.1:225)
at HTMLImageElement.i (jquery.min.js?ver=3.5.1:2)
at HTMLImageElement.dispatch (jquery.min.js?ver=3.5.1:2)
at HTMLImageElement.v.handle (jquery.min.js?ver=3.5.1:2)### wp-core ###
version: 5.6
### wp-active-theme ###
name: Twenty Seventeen (twentyseventeen)
version: 2.5
### wp-plugins-active (21) ###
NextGEN Gallery: version: 3.5.0, author: Imagely, Auto-updates enabled
NextGEN Pro: version: 3.1.2, author: Imagely, Auto-updates enabled
### wp-server ###
server_architecture: Linux 4.9.0-13-amd64 x86_64
httpd_software: Apache/2.4.25 (Debian)
php_version: 7.4.13 64bit
php_sapi: fpm-fcgiThe page I need help with: [log in to see the link]
- The topic ‘Uncaught TypeError: this.resetImgSrc is not a function’ is closed to new replies.