TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in implode() (line 320)

Created on 15 February 2023, over 1 year ago
Updated 18 March 2023, over 1 year ago

Problem/Motivation

TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in implode() (line 320 of /var/www/test/core/modules/views/src/Plugin/views/query/Sql.php)
#0 /var/www/test/core/modules/views/src/Plugin/views/query/Sql.php(320): implode()

#1 /var/www/test/modules/contrib/views_contextual_filters_or/src/Plugin/views/query/ExtendedSql.php(27): Drupal\views\Plugin\views\query\Sql->buildOptionsForm()

#2 /var/www/test/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(1617): Drupal\views_contextual_filters_or\Plugin\views\query\ExtendedSql->buildOptionsForm()

#3 /var/www/test/core/modules/views/src/Plugin/views/display/PathPluginBase.php(437): Drupal\views\Plugin\views\display\DisplayPluginBase->buildOptionsForm()

#4 /var/www/test/core/modules/rest/src/Plugin/views/display/RestExport.php(313): Drupal\views\Plugin\views\display\PathPluginBase->buildOptionsForm()

Steps to reproduce

- Not sure if related but; Update to php 8.1 and Drupal 9.5.1
- Edit an existing view in admin panel that uses views contextual filters or
- Click on the query settings button on the bottom right of the views screen
- Ajax error occurs and the settings modal is not shown
- Above logs are written

🐛 Bug report
Status

Closed: outdated

Version

1.4

Component

Code

Created by

🇳🇱Netherlands Marceldeb

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

Comments & Activities

Production build 0.71.5 2024