Posted: September 12, 2019 at 9:47 pm
|
My site is crashing due to the below error. How do I fix this? An error of type E_ERROR was caused in line 403 of the file /home/thevil15/public_html/wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/ProcessTicketSelector.php. Error message: Uncaught TypeError: Argument 1 passed to EventEspresso\modules\ticket_selector\ProcessTicketSelector::addTicketsToCart() must be of the type array, boolean given, called in /home/thevil15/public_html/wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/ProcessTicketSelector.php on line 213 and defined in /home/thevil15/public_html/wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/ProcessTicketSelector.php:403 |
Hi Sarah, Were there any recent updates performed on your website? Can you please let us know what version of Event Espresso and WordPress are currently installed? |
|
|
This error occurs any time we use the dashboard or in particular any function within EE |
|
The version is 4.10.0 |
Hi Sarah, That particular error should only be thrown when something is adding tickets to the EE event cart and, in short, something else when wrong (returned a boolean value, true/false) outside of that. Loading up the dashboard does not add tickets to the cart so if you’re getting that error simply by navigating to Dashboard -> Event Espresso -> Events then it sounds like there something else going on and the above is a symptom of that. Do you have any custom functions hooking into the Looking at the front end of the site, I can add tickets to the cart without any errors (it uses the same function that is throwing an error above). S2 member prevents me from viewing the cart itself without a login but I can add tickets and see the number of tickets in the cart increases each time I do so this is working on the front end. Any recent work done on the site which may match up with when this started happening? |
|
The support post ‘Plugin causing fatal WordPress error’ 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.