Support

Home Forums Event Espresso Premium fatal error (3)

fatal error (3)

Posted: November 16, 2012 at 5:38 am

Viewing 14 reply threads


Nina

November 16, 2012 at 5:38 am

Hi,
I’ve updated and in both 28.3 and now 28.4 I am getting this error on submit:
Fatal error: Call to undefined function event_espresso_add_attendees_to_db() in /home/wppcma5/public_html/wp-content/plugins/event-espresso/espresso.php on line 782

I also cant get the attendees to update with the information in thr data base.

  • This topic was modified 4 years, 9 months ago by Garth.
  • This topic was modified 4 years, 9 months ago by Garth.


Josh

  • Support Staff

November 16, 2012 at 7:32 am

Hi Nina,

The error message you are seeing indicates it can’t find the event_espresso_add_attendees_to_db function, which is declared in /event-espresso/includes/admin-reports/add_attendees_to_db.php. I would suggest downloading a fresh copy of Event Espresso from your account page and uploading that one to the server. Please note that you’ll need to deactivate and remove the version that is installed right now.


Nina

November 16, 2012 at 7:58 am

I removed and deleted all espresso folders prior and reinstalled 28.4 and the espresso members.
I am still getting the error. Also the attendee data needs to be updated and I cannot get it to update.


Nina

November 16, 2012 at 8:01 am

I do not see that file (add_attendees_to_db.php) in the admin-reports folder. Can you please check the zip file?


Josh

  • Support Staff

November 16, 2012 at 8:35 am

That was a mistake on my part, it’s in includes/process-registration/


Nina

November 16, 2012 at 8:56 am

I reverted back to an older version and it is working now except I’m still having the issue of needing to update the database of attendees.
WordPress Version:
3.4.2
PHP Version:
5.3.10
MySQL Version:
5.1.63
Event Espresso Version:
3.1.24.3.P
WordPress Address (URL):
http://wppc-ma.org
WordPress Content Directory:
/home/wppcma5/public_html/wp-content
Site address (URL):
http://wppc-ma.org
Event Espresso Plugin URL:
http://wppc-ma.org/wp-content/plugins/event-espresso/
Event Espresso Plugin Path:
/home/wppcma5/public_html/wp-content/plugins/event-espresso/
Event Espresso Upload URL:
http://wppc-ma.org/wp-content/uploads/espresso/
Event Espresso Upload Path:
/home/wppcma5/public_html/wp-content/uploads/espresso/
Event Espresso Template Path:
/home/wppcma5/public_html/wp-content/uploads/espresso/templates/
Event Espresso Gateway Path:
/home/wppcma5/public_html/wp-content/uploads/espresso/gateways/


Josh

  • Support Staff

November 16, 2012 at 11:15 am

Hi Nina,

Event Espresso 3.1.28.4 fixes a critical bug that would overwrite some attendee data when editing attendee data in the admin. Please see Seth’s post here:
https://eventespresso.com/topic/important-update-3-1-28-4/

There we’re not any changes in includes/process-registration/ between 3.1.28.3 and .4, so one place to look for a difference in that function would be in the custom functions files.

The file that has the 3.1.28.4 hotfix is in includes/admin-reports/edit_attendee_record.php


Nina

November 16, 2012 at 12:24 pm

In the last instal of todays version that I did this morning, I deleted all files that were espresso related including the custom functions. I then installed the 28.4 and the new members. It still gave me the fatal error and the attendee data is not updated. In php myadmin the attendee data is correct, but that fails to be reflected in the espresso attendees.
I have now reverted to an older espresso, registrations now work with no fatal error, but I still have a problem with the attendee data.


Josh

  • Support Staff

November 20, 2012 at 10:43 am

Hi Nina,

I’ve seen the attendee data get out of sync when there were files from an older version of Event Espresso in /wp-content/uploads/espresso/templates, and new registrations were added while these old templates were overriding the core templates. So the way forward would be to remove/update any templates in /wp-content/uploads/espresso/templates while updating. A simple way to accomplish this would be to rename that directory.


Foundry Photo Workshop

November 20, 2012 at 11:28 am

I’m also having this problem and haven’t downgraded to any other version. I’m also having a separate problem of the the CSS templates not “sticking” for some reason.


Dean

November 21, 2012 at 5:12 am

@Foundry is your error message the same one? What version did you update from and to?

Please can you post your separate CSS issue a separate thread? It helps us keep things a little more organised.


Foundry Photo Workshop

November 21, 2012 at 11:29 am

Yea, I ended up having to downgrade to 3.1.22.2.P because it was incredibly important for us to have EE running. That was the version from my last backup, which actually reminded me to do a full backup of wp-content. The CSS issue went away, so it’s something to do with that latest update and/or other plugins not playing nice. I didn’t have time to check after I reinstalled WP, the theme and the plugin multiple times. Perhaps something’s off in the SVN?


Josh

  • Support Staff

November 21, 2012 at 12:35 pm

Which method did you use to update the plugin from 3.1.22.P? Did you deactivate the plugin before uploading the new version?

Also, are there any template files currently in /wp-content/uploads/espresso/templates?


Foundry Photo Workshop

November 21, 2012 at 8:50 pm

I updated from 3.1.22.P and subsequent updates via FTP and then the automatic built-in updater when that became available. This time, I deactivated the latest 28.4 build and uploaded the 22.P via FTP.
And nope, nothing in the templates folder. I haven’t gotten around to making special CSS templates.


Chris Reynolds

  • Support Staff

November 27, 2012 at 3:58 pm

If you don’t have any custom templates then Josh’s original post would apply to you as well. Something is off in the files on the server. Your best bet would be to delete the Event Espresso directory in your /wp-content/plugins/ folder and re-upload a fresh copy. It may also work to just deactivate the plugin and reactivate. However, due to differences between the older versions of Event Espresso and newer versions of Event Espresso and changes made to the database structure, we can’t guarantee that everything will work as intended if you roll back to a previous version of Event Espresso. This is why we (and WordPress) recommend making a database backup before doing any updates to your site.

Viewing 14 reply threads

The support post ‘fatal error (3)’ 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.

Event Espresso