- Posts: 177
- Thank you received: 4
Warning message on order page
8 years 1 month ago #296419
by kchahine
Warning message on order page was created by kchahine
-- url of the page with the problem -- :
morenadancewear.com.au
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7
Hi,
I am getting a warning message (php) on the order page as shown in the attached photo. Any suggestion?
Regards.
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.11
-- PHP version -- : 7
Hi,
I am getting a warning message (php) on the order page as shown in the attached photo. Any suggestion?
Regards.
Please Log in or Create an account to join the conversation.
8 years 1 month ago #296435
by nicolas
Replied by nicolas on topic Warning message on order page
Hi,
Try changing the line:
$order_text .= "\r\n" . str_replace('<br/>', "\r\n", JText::sprintf('ACCESS_ORDER_WITH_LINK', $url));
to:
$order_text .= "\r\n" . str_replace('<br/>', "\r\n", JText::sprintf('ACCESS_ORDER_WITH_LINK', $url, $url));
in the file plugins/hikashoppayment/paypal/paypal.php
Try changing the line:
$order_text .= "\r\n" . str_replace('<br/>', "\r\n", JText::sprintf('ACCESS_ORDER_WITH_LINK', $url));
to:
$order_text .= "\r\n" . str_replace('<br/>', "\r\n", JText::sprintf('ACCESS_ORDER_WITH_LINK', $url, $url));
in the file plugins/hikashoppayment/paypal/paypal.php
Please Log in or Create an account to join the conversation.
Time to create page: 0.138 seconds