Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Fatal error: Call to undefined function espresso_get_total_cost() | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Fatal error: Call to undefined function espresso_get_total_cost()

Fatal error: Call to undefined function espresso_get_total_cost()

Posted: March 7, 2013 at 11:00 pm

Viewing 3 reply threads


swoodward

March 7, 2013 at 11:00 pm

I am trying to fix an issue on the cegsa.sa.edu.au site where the event registration emails are not being sent.
I have set up a dev version of the site at http://108.167.179.247/~sandbox/cegsa/ and have upgraded the wordpress version to the latest and to the latest version of event espresso.
unfortunately it hasn’t fixed anything. I am now getting this error.

Fatal error: Call to undefined function espresso_get_total_cost() in /home/sandbox/public_html/cegsa/wp-content/plugins/event-espresso/includes/functions/email.php on line 5

I have updated all of the event espresso plugins to the latest, without any change.

any ideas?

The site is a clone but is working correctly otherwise.

cheers,
Matthew


swoodward

March 7, 2013 at 11:12 pm

I have also tried deactivating and re activating the plugin and I get…

The plugin generated 309 characters of unexpected output during activation


Josh

March 8, 2013 at 9:14 am

Hi there,

the espresso_get_total_cost() function can be found in event-espresso/gateways/process_payments.php. So there are two possibilities that I can think of why you’re seeing this error:

1) The above file is missing from your installation.

2) There is an older or modified copy of process_payments.php in /wp-content/uploads/espresso/gateways that is overriding the process_payments.php file in the core plugin. You can look in the /uploads/espresso/gateways directory and if there are older files there, those can be removed.


swoodward

March 13, 2013 at 5:10 pm

Hi Josh,

Thank you. that pointed me in teh right direction and I worked it out from there.
Cheers,
Matthew

Viewing 3 reply threads

The support post ‘Fatal error: Call to undefined function espresso_get_total_cost()’ 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 - Staging Server