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.

CommentFileSizeAuthor
#2 ajax-error--2901598.patch608 bytesjeremylichtman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jeremylichtman created an issue. See original summary.

jeremylichtman’s picture

FileSize
608 bytes

Attached patch resolves the error by moving the inner call into a variable declaration first.

Neslee Canil Pinto’s picture

Status: Active » Closed (outdated)