Error message at bottom of Centerrow carousel

We’re seeing an error message along the bottom of the carousel images in the Centerrow theme. The error is
:count(): Parameter must be an array or an object that implements Countable in on line

Omeka Classic v2.7.1. php v7.3.20 Centerrow v1.4.1

I’m finding some messages in the error log but I don’t know if they have anything to do with the carousel error message:
2021-02-19T11:36:27+00:00 ERR (3): Omeka_View_Exception: A current item variable has not been set to this view. in /var/www/html/digitalcollections/application/views/helpers/GetCurrentRecord.php:27

2021-02-19T12:23:50+00:00 ERR (3): InvalidArgumentException: Invalid record passed to recordMetadata. in /var/www/html/digitalcollections/application/views/helpers/Metadata.php:58

2021-02-19T18:41:21+00:00 ERR (3): Omeka_Record_Exception: Invalid search type given! in /var/www/html/digitalcollections/application/models/Table/Item.php:143

Has anyone seen this message along the bottom of your carousel images in Centerrow?

Thanks

The count warning is something that’s fixed in the development version of Center Row, we just need to make an updated release for it.

Turning off error display (the “development” setting in your .htaccess, probably) would also eliminate the message from the actual page.

1 Like

This topic was automatically closed after 250 days. New replies are no longer allowed.