Skip to Content

New J2Commerce 6.6.5 is out. Here is everything in the release.

See What’s New
Account
Enter the email address on your account.
Forgot your username?
Enter your password.
Forgot your password?

Or continue with

Closed Public Category: Technical Support / Bugs Ticket #616

Cannot save coupons with other Backend language

This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Conversation

Sigrid Gramlinger

Hi,

I have my backend language set to German.
When I try to save a coupon code with a date field, I get an error: "Call to a member function format() on false"
When I change the backend language to English, I can save the coupon code successfully also with a date.

Best regards
Sigrid

Attachments

j2c-error-coupon-date.png
Olivier Buisard Staff

Hi Sigrid,

I apologise for the late answer.

I could not reproduce the issue. If possible, could you turn on debug and let us know about the error trace?

And were you using the German language pack that you can download from our site? Are you on 4.0.19?

Thanks, Sigrid.

 

Olivier.

Sigrid Gramlinger

And yes, I am on J2C 4.0.19
Are there new translations? where would I find them?

Sigrid Gramlinger

But still, with the latest langage pack, I have the same error.

The date field in the prices can be saved. but that looks like in a different format.
The error is only with the discounts.

Do you need access to a dev-site?

Olivier Buisard Staff

Yes, if you could give us access, because I have tried to reproduce the error on our test sites, and I could not.

Olivier.