Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Error: Requested locale "en-US" was not prefetched #620

@houdmont

Description

@houdmont

ABT Version: 5.2.2

PHP Version: 7.4.14

Theme: Custom theme

Plugin List:

  • Advanced Ads
  • Autoptimize
  • Braintree for WooCommerce
  • WooCommerce
  • Jetpack
  • LearnDash
  • Logic Hop
  • MathML
  • Ninja Forms
  • Oasis Workflow
  • WooCommerce
  • Yoast
  • WP Simple SAML

Browser: Google Chrome (Version: 88.0.4324.146)

Expected behavior: When citing an uncited item, I expected the item to appear in the editor as a citation (as well as in the reference list generated in the editor)

Actual behavior: The uncited item does appear in the list of cited items in the sidebar, but does not appear as a citation in the editor, nor does a reference list get generated.

Console messages:

processor.ts:60 Uncaught (in promise) Error: Requested locale "en-US" was not prefetched
    at Object.retrieveLocale (processor.ts:60)
    at p.Engine.localeConfigure (citeproc.js?ver=1610460369:1)
    at new p.Engine (citeproc.js?ver=1610460369:1)
    at new e (processor.ts:81)
    at actions.ts:106
    at l (index.js?ver=1.8.3:2)
    at Generator._invoke (index.js?ver=1.8.3:2)
    at Generator.next (index.js?ver=1.8.3:2)
    at redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2
processor.ts:89 Uncaught (in promise) TypeError: Cannot read property 'rebuildProcessorState' of undefined
    at e.value (processor.ts:89)
    at actions.ts:107
    at l (index.js?ver=1.8.3:2)
    at Generator._invoke (index.js?ver=1.8.3:2)
    at Generator.next (index.js?ver=1.8.3:2)
    at redux-routine.min.js?ver=8ec41c688c5daad1d264d85374a1c8b0:2

This behaviour occurs even with the plugins listed above disabled. This takes place on both new posts as well as historical posts that were authored before the plugin was in place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions