Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 343 Bytes

2022-02-10-no-js-error-when-plugin-is-registered-for-non-existing-element.md

File metadata and controls

9 lines (9 loc) · 343 Bytes
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: No JS error when plugin is registered for non existing element
issue: NEXT-20128
author: Max
author_email: max@swk-web.com
author_github: @aragon999
---

Storefront

  • Changed _queryElements in plugin.manager.js to return an empty array in case the element was not found. Before this it sometimes returned an array with null.