Plugin Author
Katie
(@kseaborn)
Can you provide a shortcode example?
Hi!
Articles have loaded now, still getting this in admin (Firefox):
Uncaught TypeError: cannot use 'in' operator to search for "length" in "0"
jQuery 2
success https://www.xxx.com/xxx/wp-content/plugins/zotpress/js/zotpress.lib.dropdown.min.js?ver=5.8.1:33
jQuery 7
zp_get_tags https://www.xxx.com/xxx/wp-content/plugins/zotpress/js/zotpress.lib.dropdown.min.js?ver=5.8.1:30
<anonymous> https://www.xxx.com/xxx/wp-content/plugins/zotpress/js/zotpress.lib.dropdown.min.js?ver=5.8.1:6
jQuery 13
jquery.min.js:2:1092
On frontend it’s loading
shortcode: [zotpress collection="DJWK4RNX" style="american-journal-of-medical-genetics" sortby="date" sort="desc"]
Plugin Author
Katie
(@kseaborn)
Hm, it’s hard to see based on the minimized code. I wonder if there’s an item with a special character or structure. I’ll have an update soon where I’ll have made some fixes that could resolve things. If not, please re-open.
Don’t you have these jquery errors in admin?
Plugin Author
Katie
(@kseaborn)
Up until today, no — but I did find an error when there was a collection without items. I’m not sure if this is the issue, but check out 7.3 and let me know.
Updated, but the error is still there: https://1drv.ms/u/s!AuVV2tr9Z0Jhi5FQDLdJ-m0DnQeAEA?e=9jfYAE
Anyway, it’s still loading now, and this time update didn’t remove my login to Zotero, so it’s already better 🙂
Plugin Author
Katie
(@kseaborn)
I can’t replicate it so I think there must be a special/unaccounted for case in your items. Are you willing to share?
if it works, let’s leave it 🙂
thanks.