Hi @doffine ,
Thanks for your inquiry.
Can you please make sure that you have the latest version of the plugin installed – that is 1.5.66 if free and 2.5.66 if pro.
If you don’t have the latest version, then please update and check again.
If you have the latest version, and the issue persists, please write your WordPress version as we could not reproduce the issue on our end.
Hi @zhannak,
we are using current version 1.5.66. Our WordPress version is 5.6, PHP is 7.4.13.
Above console error message is by Firefox. Chrome calls it as follows:
Uncaught SyntaxError: Unexpected identifier (jquery.mobile.min.js:7)
(path is also /wp-content/plugins/photo-gallery/js/jquery.mobile.min.js?ver=1.4.5)
Greetings,
-doffine
I’m experiencing the same error since the upgrade to Photo Gallery 1.5.66 which updated the jquery.mobile.min.js from 1.3.2 to 1.4.5.
Uncaught SyntaxError: missing ) in parenthetical — jquery.mobile.min.js:7
Additionally, with autoptimize’s javascript aggregation turned on, this causes problems with unrelated pages. Deactivating photo gallery solves those issues. Turning off autoptimize’s aggregation feature also solves the issue. It’s not clear whether this is related to the syntax error… but it would be nice to have it fixed if possible.
Is there a pre-minified version of jquery.mobile.min.js that I could swap in that would help narrow down where the issue is?
And before you ask… we are using WordPress 5.6 and autoptimize 2.8.1
Dear @usminfoserv,
Sorry for the belated response.
Please update the gallery to version 1.5.67.
It includes all the necessary fixes.
Sincerely,
@asyag,
thank you very much. The error has gone with 1.5.67. I’ll mark this as resolved now.
Greetings,
-doffine
Completely resolved for me, too. Thank you!