Support

Home Forums Event Espresso Premium Event Espresso – Promotions – A RuntimeException was thrown!

Event Espresso – Promotions – A RuntimeException was thrown!

Posted: December 1, 2023 at 3:57 am

Viewing 10 reply threads


Evasionautoecole

December 1, 2023 at 3:57 am

Hello,

I installed the plugin Event Espresso – Promotions and i have this error :
error

Can you help me please.


Rio

  • Support Staff

December 1, 2023 at 4:05 am

Can you tell us if you did update your plugin to .12 to? also, what happen after you installed promotion? did the error go away after some time or its still there. Can you tell me the page where you see that message?

thanks


Evasionautoecole

December 2, 2023 at 2:25 am

Thank you for your reply.
I always got this error. Yes i update to .12. The installation went well and i can add a new promotions. The error appears under the settings tab.
capture

Thanks


Rio

  • Support Staff

December 2, 2023 at 8:15 am

Can you send us another Screenshot, the image you sent has no error message. If you can also paste here the error message and error in your log. that would be helpful too.

thanks


Evasionautoecole

December 2, 2023 at 12:22 pm

When I click on “Paramètres” i have this screen :
screenshot
I have this in debug.log :
[02-Dec-2023 19:18:44 UTC] PHP Deprecated: Required parameter $transaction follows optional parameter $TXN_total in /home/httpd/vhosts/mon-permis.info/httpdocs/wp-content/plugins/eea-promotions/EED_Promotions.module.php on line 335


Rio

  • Support Staff

December 3, 2023 at 10:37 pm

I’m trying to recreate the issue but everything is fine on my end.

We need more information, Can you tell us your system information?
https://monosnap.com/file/xg2sw90hrhJ6aV9lTcAvLY2lT0t7jR

please tell us also if you did enable your log? did you receive any error?
Can you paste it here.

Did you made any custom code for your EE/promotion?

thanks


Evasionautoecole

December 7, 2023 at 12:06 am

Here is our system information:
prtsc

Yea i enable the log and I don’t have any error related to eventespresso!

Non i don’t add custom code.

Thanks


Tony

  • Support Staff

December 7, 2023 at 6:30 am

Hi there,

This is an issue with the translations in use on that site, PHP8 does not allow for missing placeholders within translated strings. PHP7 and below had no problem with them.

Are you using custom translation files at all?

LocoTranslate?

Files within /wp-content/uploads/espresso/languages/?

I’ve just tested my site with the latest translations we have available and didn’t run into any issues, so I’m guessing you site has older translation files saved which will need to be updated/fixed.


Evasionautoecole

December 7, 2023 at 7:44 am

Hello,

No I don’t use translation on the site !

I even tried to install just the plugins “Event Espresso 4 Core Regular v5.0.11.p” and “Promotions and Discount Codes v1.0.16.p” locally on a new WordPress but I still have the same error :
pstsc1
prtsc2


Tony

  • Support Staff

December 7, 2023 at 8:01 am

No I don’t use translation on the site !

Your site is in French, EE is coded in English.

Your screenshots show EE in French, so there are translations for EE within the site.

Go to Dashboard -> Settings -> General.

What is the site language set to?


Evasionautoecole

December 7, 2023 at 8:42 am

indeed, we change the language from French to English, we no longer have the error.

How can i no longer have the error in French?

Thanks


Tony

  • Support Staff

December 7, 2023 at 8:52 am

Download this file:

https://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_fr/export-translations/?format=mo

Place that file within /wp-content/uploads/espresso/languages/

Does it work then?


Evasionautoecole

December 8, 2023 at 2:31 am

Thank you, it work :

prtsc


Rio

  • Support Staff

December 8, 2023 at 4:42 am

Awesome. If you need anything. feel free to reach us again.

thanks

Viewing 10 reply threads

The support post ‘Event Espresso – Promotions – A RuntimeException was thrown!’ 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