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
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.
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.
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.