Error on translation string

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
9 months 1 week ago #359667

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4
-- PHP version -- : 8.2

PHP Warning: syntax error, unexpected '=' in xxx/language/overrides/sl-SI.override.ini on line 35
in xxx/administrator/components/com_hikashop/helpers/translation.php on line 118

In line 35 is:
YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE="You can now access your order <a href='%s'>here</a>."

And
PHP Warning: Undefined property: stdClass::$order in xxx/media/com_hikashop/mail/order_notification.text.php on line 12
PHP Warning: Attempt to read property "order_number" on null in xxx/media/com_hikashop/mail/order_notification.text.php on line 12

Last edit: 9 months 1 week ago by mojweb.

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

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
9 months 1 week ago #359669

Hi,

That line looks fine. This means that the problem is probably elsewhere.
Please provide a copy of the full ini file.

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

  • Posts: 323
  • Thank you received: 18
  • Hikashop Business
9 months 1 week ago #359703

I found the problem. Missing " on end of string.
Thank you.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum