Using Version 3.1.36.5.P – this has been working fine for a while but I just heard from the client that when adding attendees they are getting a fatal error. I logged in with my admin account and it’s the same issue:
Fatal error: Cannot redeclare add_new_attendee() (previously declared in /var/sites/c/citywomen.org/public_html/wp-content/uploads/espresso/custom_functions.php:37) in /var/sites/c/citywomen.org/public_html/wp-content/plugins/event-espresso/includes/admin-reports/add_new_attendee.php on line 173
I personally haven’t updated the plugin but the client might have. There was a custom function written by one of your devs to add the ticket type. Is this the issue?
You have a custom functions file in your uploads directory that has a function in it that is the same as one in the core plugin so it is clashing.
It sounds like there may have been an edit to a core file event-espresso/includes/admin-reports/add_new_attendee.php to make the function add_new_attendee() pluggable. If the function is pluggable then having it in the custom_functions.php file is fine as it will then over ride the original.
The easiest solution is to remove that function or rename the custom_functions.php file so it doesn’t get loaded. However that will stop the modified function from working. It seems you may need to make the core function pluggable again.
Was there a forum support thread regarding this ticket type issue? Or was it done via a Priority Support Token?
The support post ‘Fatal error when manually adding an attendee.’ 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.