JS error with canvas.min.js
-
Running into what appears to be a JS issue with the canvas.min.js file:
*Windows Server with IIS 7.5 running as User Acceptance Testing (staging environment)
*This server running behind reverse proxy server
*Custom Theme (based on _s, nothing much different beyond enqueing custom stylesheets and adding custom widget and menu areas)
*Tailor 1.7.0Clicking Tailor This Page -> brings up the loading icon and two JavaScript error messages in the console.
Uncaught TypeError: Cannot read property ‘findWhere’ of undefined
Uncaught TypeError: Cannot read property ‘channel’ of undefinedUnfortunately I can’t replicate this error in a local development environment (everything works fine there – the major difference being that local development doesn’t have to deal with a proxy server).
Any ideas on what might be happening here?
**UPDATE**
It appears that if you remove revisions or optimize the database, it will cause this issue. I can recreate the issue in local development after removing revisions (using Optimize Database after Deleting Revisions plugin). So the issue appears to revolve around revisions in the database.
- The topic ‘JS error with canvas.min.js’ is closed to new replies.