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

35 views
Skip to first unread message

alberto...@gmail.com

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

regarding this ticket:

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

https://github.com/artefactual/atom/blob/stable/2.5.x/plugins/sfEadPlugin/modules/sfEadPlugin/templates/indexSuccessBodyDidElement.xml.php#L137  

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,

cheers,

alberto

Dan Gillean

unread,
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.
604-527-2056
@accesstomemory
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 ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/8564011b-36af-409c-9864-c205457cd30cn%40googlegroups.com.

José Raddaoui

unread,
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,
Radda.
Reply all
Reply to author
Forward
0 new messages