Get Ajax error when editing paragraph with a field state for $type entity_ref $plugin boolean limit 1

Created on 13 May 2020, about 4 years ago
Updated 16 May 2023, about 1 year ago

Get the following Ajax error when editing paragraph with a field state for $type entity_ref $plugin boolean limit 1:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /node/add/page?ajax_form=1
StatusText: parsererror
ResponseText: Warning: array_keys() expects parameter 1 to be array, null given in /app/web/modules/contrib/field_states_ui/src/FieldStateManager.php on line 238
Call Stack:
0.0149     502296   1. {main}() /app/web/index.php:0
0.0176     625192   2. Drupal\Core\DrupalKernel->handle() /app/web/index.php:19
0.0379    1974016   3. Stack\StackedHttpKernel->handle() /app/web/core/lib/Drupal/Core/DrupalKernel.php:708
0.0379    1974016   4. Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() /app/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23
0.0379    1974712   5. Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() /app/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php:52
0.0379    1974712   6. Drupal\page_cache\StackMiddleware\PageCache->handle() /app/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php:47
0.0380    1974712   7. Drupal\page_cache\StackMiddleware\PageCache->pass() /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php:85
0.0380    1974712   8. Drupal\Core\StackMiddleware\KernelPreHandle->handle() /app/web/core/modules/page_cache/src/StackMiddleware/PageCache.php:106
0.1281    2228320   9. Drupal\Core\StackMiddleware\Session->handle() /app/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php:47
0.1345    2339824  10. Symfony\Component\HttpKernel\HttpKernel->handle() /app/web/core/lib/Drupal/Core/StackMiddleware/Session.php:57
0.1346    2340240  11. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /app/vendor/symfony/http-kernel/HttpKernel.php:68
0.2647    8212712  12. 
πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States gmercer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024