Support

Home Forums Event Espresso Premium Fatal error after update Espresso Version 5.0.2.p with payment add on

Fatal error after update Espresso Version 5.0.2.p with payment add on

Posted: March 28, 2023 at 5:48 am

Viewing 5 reply threads


CapellaAmersfoort

March 28, 2023 at 5:48 am

Hi,

After updating with version 5.0.2 I got an error with my payment addon of Pronamic;
[Tue Mar 28 13:35:17.969763 2023] [php:error] [pid 32171] [client 2a02:a46a:f1e0:1:909a:b0d3:249:e510:0] PHP Fatal error: Declaration of Pronamic\\WordPress\\Pay\\Extensions\\EventEspresso\\PaymentMethod::system_name() must be compatible with EE_PMT_Base::system_name(): string in /home/public/sites/<mywebsite>/wp-content/plugins/pronamic-ideal/vendor/wp-pay-extensions/event-espresso/src/PaymentMethod.php on line 160, referer: https://<mywebsite>/wp-admin/plugins.php?plugin_status=all&paged=1&s
How can help me out?


Tony

  • Support Staff

March 28, 2023 at 7:09 am

Hi there,

We will need to push an update for Event Espresso to prevent the above fatal.

I’ve created a ticket for our developers to fix and once ready we can push it live, in the meantime if you have FTP access to the site I can either talk you through the fix or if you send the credentials over using this form:

https://eventespresso.com/send-login-details/

I’ll apply it directly to your site so you can get back up and running.


CapellaAmersfoort

March 28, 2023 at 8:37 am

I have access via FTP. So please tell me how to fix it.


Tony

  • Support Staff

March 28, 2023 at 10:38 am

Go to /wp-content/plugins/event-espresso-core-reg/core-libraries/payment_methods/EE_PMT_Base.lib.php

Line 729 will be: public function system_name(): string

Change that to: public function system_name()

That should fix the above fatal.


CapellaAmersfoort

March 29, 2023 at 12:57 am

Thanks Tony, this solves the problem for now!
Will the fix be part of a previous update?


Tony

  • Support Staff

March 29, 2023 at 4:39 am

Yes, the next update for EE5 (5.0.3.p) will include the same fix.

Viewing 5 reply threads

The support post ‘Fatal error after update Espresso Version 5.0.2.p with payment add on’ 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