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.
I'm getting a Fatal error: Unsupported operand types in /var/www/honeycore/sites/all/modules/contrib/draggableviews/views/draggableviews_join_handler.inc on line 58
error when displaying the view display that is sorted based on another draggable view.
The line (58) is trying to concatenate the views arguments with the exposed filters. But if the display doesn't have any arguments, it obviously fails because PHP can't add an array to a NULL variable.
My suggestion is to add a fallback that makes sure that the arguments is an empty array if the original arguments are NULL.
Comment | File | Size | Author |
---|---|---|---|
#1 | draggableviews-unsupported_operand_types-2098437-1.patch | 643 bytes | olofbokedal |
Comments
Comment #1
olofbokedal CreditAttribution: olofbokedal commentedComment #2
iStryker CreditAttribution: iStryker commentedLooks good. Committed