When I try to open "settings" in my "views" I get 2 errors in console.Modal window "settings" don't show

Warning: Illegal offset type in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 102 of /web/core/lib/Drupal/Core/Render/Element/Checkboxes.php).
Notice: Array to string conversion in Drupal\Core\Render\Element\Checkbox::processCheckbox() (line 129 of /web/core/lib/Drupal/Core/Render/Element/Checkbox.php).

Modal window "settings" don't show

CommentFileSizeAuthor
#19 view_slideshow_3162541_19.patch1.39 KBitamair
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Nikitoring created an issue. See original summary.

Nikitoring’s picture

Assigned: Nikitoring » Unassigned
neslee canil pinto’s picture

@Nikitoring not able to re-produce the issue. Can you please provide steps to reproduce.

nephilim93’s picture

Hi guys.

This is happening to me as well. Recently updated a site to Drupal 9.1.5, so it might be related to the Drupal version.

Edited an existing view based on the Views Slideshow plugin. Click on Settings. Popup won't appear and will throw the same error.

vijay-drupal’s picture

I'm also facing the same issue..
my setup is php 8.0.3 / Drupal 9.1.7/Xampp

- Some libraries like jquery.cycle.all.js, jquery.hoverIntent.js, json2.js were missing which I downloaded and placed in the respected folder.

- Apart from that I was also getting one error from the web/core/misc/ajax.js. For that I was able to solve the issue using ajax_error_73b4dccs__0.patch

1) I have created block type named as "Slideshow" with the image field only. Added content with type slideshow and added two slides (images)

2) I have also created a View with Displays type as "Block" and selected the above created slideshow block. Now in the Views page when I click Settings under Format > Slideshow nothing pops up and when I inspect in the Console log of Firefox it shows the above error. However, in the google chrome browser nothing is showing in the Console log

vijay-drupal’s picture

After clearing the cache I no longer receiving that error in console log but still upon clicking the Settings button nothing is popping up.

paulocs’s picture

Assigned: Unassigned » paulocs

paulocs’s picture

Version: 8.x-3.x-dev » 8.x-4.x-dev
Assigned: paulocs » Unassigned
Status: Active » Needs review

I could reproduce the error and I created a patch for it.

Steps to reproduce:

1) Install views_slideshow (8.x-4.x) and views_slideshow_cycle
2) Install all required libraries
3) Create a new view of type block and with Slideshow format
4) Edit the view and click on "Settings" of the view format.

Notice that the popup is not opened.
Btw I'm using Drupal 9.1.7.

marcusvsouza’s picture

Status: Needs review » Reviewed & tested by the community

RTBC

neslee canil pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

juc1’s picture

I am getting the same error today with D 9.4.5 - should I use 8.x-4.x-dev updated 23 Feb 2022 ?

emptyvoid’s picture

Getting the same errors as well:

Drupal 9.4.5
PHP 8.0
views_slideshow: 8.x-4.8

dialog in view edit mode errors out.

emptyvoid’s picture

Confirm fixed, patch repairs administration dialogs.

bart lambert’s picture

Since update to D9.5.0 I'm having similar issue!

dev version solved it!

itamair’s picture

StatusFileSize
new1.39 KB

Attaching here the patch corresponding to this Commit/MR merged into 8.x-4.x-dev branch for being used as composer patch ...