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
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mgifford’s picture

This 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.