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've tried both the Alpha and latest Dev versions of this module, and upon setting the Content Cache in Views, I get several PHP errors logged. Namely, Call to undefined function oc_get_node_count() where OC is our theme.
I've attached the PHP Call Stack.
Any idea what would cause this? Or how to fix it? Thanks in advance for any advice!
Comment | File | Size | Author |
---|---|---|---|
PHP Call Stack.odt | 8.17 KB | nwehner |
Comments
Comment #1
colanTagging.
Comment #2
Steven Jones CreditAttribution: Steven Jones commentedThat string 'get_node_count' isn't found in our code anywhere, looking at your call stack, I wonder if you;ve got something happening in your view that isn't compatible with the view being cached, sorry.
Comment #3
nwehner CreditAttribution: nwehner commentedAha! I have a custom block that's in the View Header, it counts how many nodes there are of the content type that's in this View. Specifically, how many Literature items there are on the site. Perhaps there's an issue with caching a "Global Block area" which is dynamic?
Comment #4
mgifford