Mail Status Override in ORDER_STATUS_NOTIFICATION is creating fatal error

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
2 years 11 months ago #332340

-- HikaShop version -- : 4.4.2
-- Joomla version -- : latest
-- PHP version -- : 7.4
-- Browser(s) name and version -- : firefox latest
-- Error-message(debug-mod must be tuned on) -- : Cannot pass parameter 1 by reference
/homepages/25/d83827768/htdocs/test2rs/administrator/components/com_hikashop/views/email/view.html.php:430

Hi,

since 4.4.2 I have the issue that the mail status overrider in ORDER_STATUS_NOTIFICATION is creating an fatal error after selecting an 'Order status'

An error has occurred.

0 Cannot pass parameter 1 by reference
/homepages/25/d83827768/htdocs/test2rs/administrator/components/com_hikashop/views/email/view.html.php:430

Log:
Call stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/views/email/view.html.php:430
2 EmailViewEmail->orderstatus() JROOT/administrator/components/com_hikashop/views/email/view.html.php:23
3 EmailViewEmail->display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
4 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2265
5 hikashopController->display() JROOT/administrator/components/com_hikashop/controllers/email.php:155
6 emailController->orderstatus() JROOT/libraries/src/MVC/Controller/BaseController.php:710
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2243
8 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:75
9 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
10 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:101
12 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:159
13 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:203
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/index.php:51


I also tested com_hikashop_business_v4.4.2_2021-05-05_18-20-17 but creates the same error

best Markus

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

  • Posts: 4509
  • Thank you received: 611
  • MODERATOR
2 years 11 months ago #332347

Hello,

Thank you for your return, can you tell us more about your selected status just before that the error appear ?
Does it is a default status OR a created one ?
Can you provide your order status listing (System dropdown => Order statuses) screenshot ?
And a precise step by step process to allow us to reproduce your issue (on our localhost).

Awaiting your elements to progress on your subject.
Regards

Last edit: 2 years 11 months ago by Philip.

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
2 years 11 months ago #332359

Hi Philip,

thanks for reaching out.

Please find the requested details in the attachments.

best regards
Markus

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
2 years 11 months ago #332361

Hi,

Thank you for the extra details.
We've added a patch for that on our end.
Please download again the install package on our website and install it on yours and you should not have the error anymore.

The following user(s) said Thank You: Markus Schnier

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

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
2 years 11 months ago #332366

Hi Nicolas,

great. I tested HikaShop Business 4.4.2 [2105061548] in our test environment and it works great again. The error is fixed!

thanks and best regards
Markus

The following user(s) said Thank You: Philip

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

Time to create page: 0.050 seconds
Powered by Kunena Forum