[Skip to main content](#vessel-content)

#   Joomla 4 incompatibilit error when updating Order Status from dropdown selection

##

- **[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")**
- [![simplecms's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32423-simplecms "View simplecms's Profile") Topic Author
- [ Offline](/forum/user/32423-simplecms)

Less More

- Posts: 86
- Thank you received: 11
-
-

2 years 8 months ago [\#359725](#359725) by [simplecms](/forum/user/32423-simplecms "View simplecms's Profile")  *[Joomla 4 incompatibilit error when updating Order Status from dropdown selection](/forum/35-orders-management/907890-joomla-4-incompatibilit-error-when-updating-order-status-from-dropdown-selection#359725 "-- HikaShop version -- : HikaShop Business: 5.0.3 -- Joomla version -- : 4.4.3 -- PHP version -- : 8.2 -- Error-message(debug-mod must be tuned on) -- : An error has occurred. 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;AdministratorApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;status&#95;notification.preload.modified.php:62 2 include() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:362 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:31 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:2087 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:491 6 OrderViewOrder-&gt;changestatus() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:28 7 OrderViewOrder-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:660 8 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;display() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2577 9 hikashopController-&gt;display() JROOT/administrator/components/com&#95;hikashop/controllers/order.php:179 10 OrderController-&gt;changestatus() JROOT/libraries/src/MVC/Controller/BaseController.php:693 11 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2555 12 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 13 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 15 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 16 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 17 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 18 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293 19 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:61 20 require&#95;once() JROOT/administrator/index.php:32  Changing order status works fine when doing it from within the order page, but this error is thrown when using the dropdown on the Orders page in administrator. Tried disabling all Hikashop plugins, disabling all Emails, no change.")* was created by *[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")*

-- HikaShop version -- : HikaShop Business: 5.0.3
-- Joomla version -- : 4.4.3
-- PHP version -- : 8.2
-- Error-message(debug-mod must be tuned on) -- : An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Call stack
\# Function Location
1 () JROOT/media/com_hikashop/mail/order_status_notification.preload.modified.php:62
2 include() JROOT/administrator/components/com_hikashop/classes/mail.php:362
3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com_hikashop/classes/mail.php:31
4 hikashopMailClass-&gt;get() JROOT/administrator/components/com_hikashop/classes/order.php:2087
5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com_hikashop/views/order/view.html.php:491
6 OrderViewOrder-&gt;changestatus() JROOT/administrator/components/com_hikashop/views/order/view.html.php:28
7 OrderViewOrder-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:660
8 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2577
9 hikashopController-&gt;display() JROOT/administrator/components/com_hikashop/controllers/order.php:179
10 OrderController-&gt;changestatus() JROOT/libraries/src/MVC/Controller/BaseController.php:693
11 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2555
12 hikashopController-&gt;execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
13 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
15 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
17 Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
18 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
19 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:61
20 require_once() JROOT/administrator/index.php:32

Changing order status works fine when doing it from within the order page, but this error is thrown when using the dropdown on the Orders page in administrator. Tried disabling all Hikashop plugins, disabling all Emails, no change.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzg5MC1qb29tbGEtNC1pbmNvbXBhdGliaWxpdC1lcnJvci13aGVuLXVwZGF0aW5nLW9yZGVyLXN0YXR1cy1mcm9tLWRyb3Bkb3duLXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 8 months ago [\#359734](#359734) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Joomla 4 incompatibilit error when updating Order Status from dropdown selection](/forum/35-orders-management/907890-joomla-4-incompatibilit-error-when-updating-order-status-from-dropdown-selection#359734 "-- HikaShop version -- : HikaShop Business: 5.0.3 -- Joomla version -- : 4.4.3 -- PHP version -- : 8.2 -- Error-message(debug-mod must be tuned on) -- : An error has occurred. 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;AdministratorApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;status&#95;notification.preload.modified.php:62 2 include() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:362 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:31 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:2087 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:491 6 OrderViewOrder-&gt;changestatus() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:28 7 OrderViewOrder-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:660 8 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;display() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2577 9 hikashopController-&gt;display() JROOT/administrator/components/com&#95;hikashop/controllers/order.php:179 10 OrderController-&gt;changestatus() JROOT/libraries/src/MVC/Controller/BaseController.php:693 11 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2555 12 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 13 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 15 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 16 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 17 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 18 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293 19 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:61 20 require&#95;once() JROOT/administrator/index.php:32  Changing order status works fine when doing it from within the order page, but this error is thrown when using the dropdown on the Orders page in administrator. Tried disabling all Hikashop plugins, disabling all Emails, no change.")*

Hi,

Disabling the "order status notification" email in the System&gt;Emails will definitely prevent the problem.
The error details you've provided indicates that you have an preload override for the order status notification email which has code which isn't compatible with Joomla 4.
If you rename the file /media/com_hikashop/mail/order_status_notification.preload.modified.php to something else via FTP, HikaShop won't find your override and it will work fine as it will use the default preload of the email, which doesn't have that incompatibility.
You must have customized the email in the past and you have old code in the preload override which isn't compatible with Joomla 4.
You might want to port your modifications of the preload from the old override to create a new override with the new code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzg5MC1qb29tbGEtNC1pbmNvbXBhdGliaWxpdC1lcnJvci13aGVuLXVwZGF0aW5nLW9yZGVyLXN0YXR1cy1mcm9tLWRyb3Bkb3duLXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")**
- [![simplecms's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32423-simplecms "View simplecms's Profile") Topic Author
- [ Offline](/forum/user/32423-simplecms)

Less More

- Posts: 86
- Thank you received: 11
-
-

2 years 8 months ago [\#359753](#359753) by [simplecms](/forum/user/32423-simplecms "View simplecms's Profile")  Replied by *[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")* on topic *[Joomla 4 incompatibilit error when updating Order Status from dropdown selection](/forum/35-orders-management/907890-joomla-4-incompatibilit-error-when-updating-order-status-from-dropdown-selection#359753 "-- HikaShop version -- : HikaShop Business: 5.0.3 -- Joomla version -- : 4.4.3 -- PHP version -- : 8.2 -- Error-message(debug-mod must be tuned on) -- : An error has occurred. 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;AdministratorApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;status&#95;notification.preload.modified.php:62 2 include() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:362 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:31 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:2087 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:491 6 OrderViewOrder-&gt;changestatus() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:28 7 OrderViewOrder-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:660 8 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;display() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2577 9 hikashopController-&gt;display() JROOT/administrator/components/com&#95;hikashop/controllers/order.php:179 10 OrderController-&gt;changestatus() JROOT/libraries/src/MVC/Controller/BaseController.php:693 11 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2555 12 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 13 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 15 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 16 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 17 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 18 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293 19 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:61 20 require&#95;once() JROOT/administrator/index.php:32  Changing order status works fine when doing it from within the order page, but this error is thrown when using the dropdown on the Orders page in administrator. Tried disabling all Hikashop plugins, disabling all Emails, no change.")*

You are correct. Changing the file name fixed things. However, I should say that I unpublished this file in the backend System -&gt; Emails and nothing changed with the error. That's why I thought it wasn't this file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzg5MC1qb29tbGEtNC1pbmNvbXBhdGliaWxpdC1lcnJvci13aGVuLXVwZGF0aW5nLW9yZGVyLXN0YXR1cy1mcm9tLWRyb3Bkb3duLXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

2 years 8 months ago [\#359754](#359754) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Joomla 4 incompatibilit error when updating Order Status from dropdown selection](/forum/35-orders-management/907890-joomla-4-incompatibilit-error-when-updating-order-status-from-dropdown-selection#359754 "-- HikaShop version -- : HikaShop Business: 5.0.3 -- Joomla version -- : 4.4.3 -- PHP version -- : 8.2 -- Error-message(debug-mod must be tuned on) -- : An error has occurred. 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;AdministratorApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;status&#95;notification.preload.modified.php:62 2 include() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:362 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:31 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:2087 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:491 6 OrderViewOrder-&gt;changestatus() JROOT/administrator/components/com&#95;hikashop/views/order/view.html.php:28 7 OrderViewOrder-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:660 8 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;display() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2577 9 hikashopController-&gt;display() JROOT/administrator/components/com&#95;hikashop/controllers/order.php:179 10 OrderController-&gt;changestatus() JROOT/libraries/src/MVC/Controller/BaseController.php:693 11 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2555 12 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 13 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 15 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 16 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 17 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 18 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:293 19 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:61 20 require&#95;once() JROOT/administrator/index.php:32  Changing order status works fine when doing it from within the order page, but this error is thrown when using the dropdown on the Orders page in administrator. Tried disabling all Hikashop plugins, disabling all Emails, no change.")*

Ah yes, you're right. The preload file is loaded before the check on the published flag. That's why you had the issue even with the email unpublished.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzg5MC1qb29tbGEtNC1pbmNvbXBhdGliaWxpdC1lcnJvci13aGVuLXVwZGF0aW5nLW9yZGVyLXN0YXR1cy1mcm9tLWRyb3Bkb3duLXNlbGVjdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
