Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In CalendarViewsTrait.php, there is a call to array_keys inside of array_pop.
This causes a PHP notice in PHP 7, which in turn results in an AJAX error when trying to edit the display settings for week type displays (maybe others as well) inside a view.
Comment | File | Size | Author |
---|---|---|---|
#2 | ajax-error--2901598.patch | 608 bytes | jeremylichtman |
Comments
Comment #2
jeremylichtman CreditAttribution: jeremylichtman as a volunteer and for Cheeky Monkey Media commentedAttached patch resolves the error by moving the inner call into a variable declaration first.
Comment #3
Neslee Canil Pinto