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.
The SearchAPIViewQuery use the attribute "offset" and "limit" as protected.
The error is this: "Fatal error: Cannot access protected property SearchApiViewsQuery::$limit in /home/devmerge/www/b2brazil-v2/public/sites/all/modules/contrib/eck/views/handlers/eck_views_handler_field_link_delete.inc on line 27"
eck/views/handlers/eck_views_handler_field_link_delete.inc on line 27:
"if (count($this->view->result) == 1 && $this->view->query->offset >= $this->view->query->limit) {"
Maybe you may use "$this->view->get_offset()" and "$this->view->get_items_per_page()"
Comment | File | Size | Author |
---|---|---|---|
#1 | delete-link-check-pager-2456729-1.patch | 1.14 KB | peterpoe |
Comments
Comment #1
peterpoe CreditAttribution: peterpoe commentedThis also happens when the view has no pagination and exactly one result.