Posted: July 5, 2023 at 6:45 am
Hello our Espresso is broken, see Error: Deprecated: Optional parameter $TXN_total declared before required parameter $transaction is implicitly treated as a required parameter in …plugins/eea-promotions/EED_Promotions.module.php on line 335 Deprecated: Optional parameter $validation_error_message declared before required parameter $compare_to is implicitly treated as a required parameter in …wp-content/plugins/event-espresso-core-reg/core/libraries/form_sections/strategies/validation/EE_Equal_To_Validation_Strategy.strategy.php on line 24 Fatal error: Uncaught ArgumentCountError: 5 arguments are required, 3 given in …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php:1426 Stack trace: #0 …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(1426): sprintf(‘Die Bearbeitung…’, ‘<br/>’, ‘<br/>’) #1 …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(1379): EED_Single_Page_Checkout->translate_js_strings() #2 …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(493): EED_Single_Page_Checkout->add_styles_and_scripts(Object(EED_Single_Page_Checkout)) #3 …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(383): EED_Single_Page_Checkout->_initialize() #4 …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php(427): EED_Single_Page_Checkout->run(Object(WP_Query)) #5 …wp-content/plugins/event-espresso-core-reg/core/domain/entities/shortcodes/EspressoCheckout.php(57): EED_Single_Page_Checkout::init(Object(WP_Query)) #6 …wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/ShortcodesManager.php(242): EventEspresso\core\domain\entities\shortcodes\EspressoCheckout->initializeShortcode() #7 …wp-content/plugins/event-espresso-core-reg/core/services/shortcodes/ShortcodesManager.php(205): EventEspresso\core\services\shortcodes\ShortcodesManager->parseContentForShortcodes(‘[ESPRESSO_CHECK…’, Object(WP_Post)) #8 …wp-includes/class-wp-hook.php(308): EventEspresso\core\services\shortcodes\ShortcodesManager->templateRedirect(”) #9 …wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 …wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 …wp-includes/template-loader.php(13): do_action(‘template_redire…’) #12 …wp-blog-header.php(19): require_once(‘…’) #13 ….index.php(17): require(‘…’) #14 {main} thrown in …wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/EED_Single_Page_Checkout.module.php on line 1426 Seems to be quite drastic? Kind Regards |
|
Hi there, It looks like this is from the translation file in use on the site. Do you have FTP/File Manager access? Your site is using a custom PO/MO fileset, within your sites PO file the translation for this:
Has been set to:
The
The 2 br’s at what are being passed to the %s placeholders, as you have 4 of those in your string PHP8 is throwing a fatal. You could switch out your translation to use |
|
Yes i have FTP access. Where are the Language files located. |
|
Sorry, I meant to include that in my reply…
|
|
Thank you! Problem solved. |
|
You’re most welcome, I’m glad its fixed 🙂 Any further issues just let us know. |
|
The support post ‘Fatal Error’ 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.