I have the following error in our new website for zurich:
Warning: reset() expects parameter 1 to be array, string given in /home/clients/b35472e8c3092211273da0d4fc4fb950/web/wp-content/uploads/espresso/templates/template.oa.php on line 356
Warning: reset() expects parameter 1 to be array, string given in /home/clients/b35472e8c3092211273da0d4fc4fb950/web/wp-content/uploads/espresso/templates/template.oa.php on line 356
Warning: reset() expects parameter 1 to be array, string given in /home/clients/b35472e8c3092211273da0d4fc4fb950/web/wp-content/uploads/espresso/templates/template.oa.php on line 356
For that particular error you’ll need to get an array instead of getting a string. On line 354 you have this: $tickets = espresso_event_tickets_available( $post->ID, FALSE, FALSE );
You need to change to something like this: $tickets = EEH_Event_View::event_tickets_available( $post->ID );
There’s another issue with line 324 where this: $category_slugs = '';
needs to be changed to this: $category_slugs = array();
great, fixed that one too. Thank you for a quick and efficient support.
Viewing 5 reply threads
The support post ‘Error in the table view’ 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.