Hello,
I’m getting the following error when accessing the main web site (not published). I’ve migrated it to Kinsta and I’m troubleshooting… [PHP 8.0.30 WordPress 6.4.1 Betheme 27.2.9.4 Child theme DB Server 10.11.5-MariaDB, all EE plugins have latest versions]. I have debug mode enabled. There is a menu item which navigates to an event registration (https://calthoracic2.kinsta.cloud/?post_type=espresso_events&p=5608). fyi when I remove this menu item, the debug msg is not displayed.
debug msg:
Deprecated: Required parameter $transaction follows optional parameter $TXN_total in /www/calthoracic2_926/public/wp-content/plugins/eea-promotions/EED_Promotions.module.php on line 335
here’s the line.
public static function transactions_list_table_total($TXN_total = ”, EE_Transaction $transaction)
From what I briefly read, it looks like php 8 doesn’t like the $TXN_total = ”? I can update the line to remove the “= ”” but I’m wondering if there’s more functions created this way? Or am I missing the issue completely?
We have upcoming update wherein all depreciated code for php 8 will be fixed. your EE should work fine even with that message, but if you see something strange please let us know.
We’re grateful for helping EE to improve. If you see any bug or problem, feel free to reach us again.
have a wonderful day!
Viewing 2 reply threads
The support post ‘Deprecated: Required parameter $transaction follows optional parameter $TXN_tota’ 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.