Error with Jigoshop Web Optimization when using SSL
-
Hello community,
I was implementing SSL over an entire WordPress site, not only on checkout, which is actually using Jigoshop latest version.All seems to work fine, however we noticed a huge spike on the bounce rate and later found an issue with Jigoshop self optimization, which was showing the following error message:
Fatal error: Uncaught exception 'RuntimeException' with message 'The source file "https://www.DOMAIN.com/wp-content/plugins/jigoshop/assets/js/global.js" does not exist.' in /homepages/29/d477863505/htdocs/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/vendor/assetic/src/Assetic/Asset/FileAsset.php:73 Stack trace: #0 [internal function]: Assetic\Asset\FileAsset->getLastModified() #1 /homepages/29/d477863505/htdocs/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/vendor/assetic/src/Assetic/Asset/AssetReference.php(127): call_user_func_array(Array, Array) #2 /homepages/29/d477863505/htdocs/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/vendor/assetic/src/Assetic/Asset/AssetReference.php(103): Assetic\Asset\AssetReference->callAsset('getLastModified') #3 /homepages/29/d477863505/htdocs/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/vendor/assetic/src/Assetic/Factory/AssetFactory.php(255): Assetic\Asset\AssetReference->getLastModified() in /homepages/29/d477863505/htdocs/wp-content/plugins/jigoshop/plugins/jigoshop-web-optimization-system/vendor/assetic/src/Assetic/Asset/FileAsset.php on line 73
The page was supposed to redirect to its https counterpart, however it didn’t redirect and show this error. Of course, the file wp-content/plugins/jigoshop/assets/js/global.js exists and is accessible from both http and https protocols.
My actual solution have been to disable Jigoshop Web Optimization System until we can come up with a viable solution, but IMO this will need to be patched on future releases.
If you need any further information, I will be ready to help.
Thanks for your time!
- The topic ‘Error with Jigoshop Web Optimization when using SSL’ is closed to new replies.