dsifford / academic-bloggers-toolkit

WordPress plugin providing an all-in-one solution for effective academic blogging.
https://wordpress.org/plugins/academic-bloggers-toolkit/
GNU General Public License v3.0
121 stars 38 forks source link

Inserting citations stops working with many citations #608

Open awor opened 4 years ago

awor commented 4 years ago

5.2.2

7.0.33-0ubuntu0.16.04.12

OceanWPVersion: 1.8.2

Plugin List: Academic Blogger's Toolkit by Derek P Sifford. Advanced Access Manager by Vasyl Martyniuk . Broken Link Checker by WPMU DEV. Contact Form 7 by Takayuki Miyoshi. Contact Form 7 Conditional Fields by Jules Colle. Disable Comments by Samir Shah. Display Posts by Bill Erickson. Duplicate Post by Enrico Battocchi. Elastic Email Sender by Elastic Email. Embed Plus for YouTube - Gallery, Channel, Playlist, Live Stream by Embed Plus for YouTube Team. EWWW Image Optimizer by Exactly WWW. Feedzy RSS Feeds Lite by Themeisle. Google Tag Manager for Wordpress by Thomas Geiger. LuckyWP Table of Contents by LuckyWP. Mammoth .docx converter by Michael Williamson. Nginx Helper by rtCamp. Ocean Custom Sidebar by OceanWP. Ocean Extra by OceanWP. Plugins List by David Artiss. Post Type Switcher by John James Jacoby. Simple 301 Redirects by Scott Nellé. Simple Custom CSS and JS by SilkyPress.com. Smart Slider 3 by Nextend. Style Stripper by ericjuden. TablePress by Tobias Bäthge. Ultimate Posts Widget by Clever Widgets. User Switching by John Blackbourn & contributors. WP-Discourse by Discourse. WP-RSSImport by Frank Bültge, took77. WP fail2ban by Charles Lecklider. WP Show Posts by Tom Usborne. Yoast SEO by Team Yoast.

Citation gets inserted into text

In Posts with large number of citations (around 120) insert function stops working (small numbers, says a dozen work without any problems).

redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 Uncaught (in promise) citeproc-js error: Citation with previously referenced citationID e65ee7f1-df11-4632-8262-0bdb93a66e7d (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 Promise.then (async) (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 e @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 Promise.then (async) (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 e @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 c @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 t @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ redux-routine.min.js?ver=7b7d8224ca3d5f24509583833d71c388:2 (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2 (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2 (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2 parseCitations @ citation.tsx:140 (anonymous) @ data.min.js?ver=e80048e7b309581a40e44b8bd8aaba41:2 (anonymous) @ citation.tsx:89 onClick @ citation.tsx:40 value @ components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:7 (anonymous) @ components.min.js?ver=90861a4430fed183d94d6750cb7ae6f4:7 Vh @ react-dom.min.js?ver=16.9.0:163 Uh @ react-dom.min.js?ver=16.9.0:14 Xh @ react-dom.min.js?ver=16.9.0:14 af @ react-dom.min.js?ver=16.9.0:14 Yh @ react-dom.min.js?ver=16.9.0:164 nd @ react-dom.min.js?ver=16.9.0:15 nc @ react-dom.min.js?ver=16.9.0:15 Of @ react-dom.min.js?ver=16.9.0:38 Ac @ react-dom.min.js?ver=16.9.0:39 unstable_runWithPriority @ react.min.js?ver=16.9.0:26 Ma @ react-dom.min.js?ver=16.9.0:52 Be @ react-dom.min.js?ver=16.9.0:119 xi @ react-dom.min.js?ver=16.9.0:39

GameDevIvan commented 3 years ago

I've had this issue when having both references and footnotes in a list/paragraph. After removing the footnotes, it works again.