Hi, I’ve just purchased a new licence, did an upgrade of my EE3 and now I am getting a warning message on the Edit Attendee Data page, top right corner, just above the Ticket Prices section.
it says:
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/30/d192640622/htdocs/hosting/dslrphotographycourses.com/wp-content/plugins/event-espresso/includes/admin-reports/edit_attendee_record.php on line 677
That warning is basically saying the count() function was not passed an array or object that it count run on to return a value, it works as is but throws a warning to show ‘something’ isn’t right.
In this case, count isn’t needed and empty() can be used, so to fix this if you are comfortable with PHP you can change:
Currently, EE3 is only receiving security updates (we do not have any currently), but as this is a simple localized fix I’ll create a ticket for this so it’s included on the next release if a security report comes in.
The support post ‘Edit attendee data – warning line 677’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.