Order Confirmation error after update

  • Posts: 11
  • Thank you received: 0
6 years 3 months ago #296499

-- url of the page with the problem -- : saigers.com
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 5.6.36
-- Browser(s) name and version -- : NA

Hello,

After updating to Hikashop 3.5.1 today, we have error in confirmation email.

Not sure where to fix, please see attached screenshot.

Warning: sprintf(): Too few arguments in...public_html/libraries/src/Language/Text.php on line 315

Thank you!

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
6 years 3 months ago #296506

Hi,

Change the translation:
ACCESS_ORDER_WITH_LINK="You can access the order details directly by clicking on the link below after logging in your back end:<br/><a href='%s'>%s</a>"
to:
ACCESS_ORDER_WITH_LINK="You can access the order details directly by clicking on the link below after logging in your back end:<br/><a href='%1$s'>%1$s</a>"
with a translation override and that will fix the problem.
We'll add the fix on our end.

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds
Powered by Kunena Forum