PHP Warning: count(): Parameter must be an array or an object that implements Countable

Skip to first unread message

Aug 25, 2020, 4:56:41 AM8/25/20
to AtoM Users

regarding this ticket:

I have an AtoM installation that's hitting exactly the line described:  

Throwing warnings that, in this particular case, prevents the successful export.
Avoiding the warning being thrown would be relatively trivial, but will it be enough to solve the issue in this case? Or are there any general pointers on how this can be done? 

thanks a lot,



Dan Gillean

Aug 27, 2020, 5:30:26 PM8/27/20
to ICA-AtoM Users
Hi Alberto, 

I'm going to need some input from our developers to prepare a reply for you, but most of them are away this week. I will try to return to this thread early next week!

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
he / him

You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

José Raddaoui

Sep 2, 2020, 4:25:38 PM9/2/20
to AtoM Users
Hi Alberto,

I think avoiding the warning should be enough until we fully address them. I can only see them in debug mode so you can probably hide them using a different error reporting level.

Best regards,
Reply all
Reply to author
0 new messages