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.
When views exposed filters style option is set to Input Required, views calc throws the following fatal error.
There reason is, paging will no longer be available since no query runs at first.
The solution is to check whether the paging object is available or not
Fatal error: __clone method called on non-object in sites\all\modules\views_calc\views_calc_table.inc on line 159
Comment | File | Size | Author |
---|---|---|---|
views_calc_input_required_fatal_error.patch | 687 bytes | sinasalek |
Comments
Comment #1
mgiffordThis patch doesn't make sense to me and I don't know how to replicate this issue.
The patch seems to mostly add spacing after the if statement. Maybe I'm missing something though.