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

#   Migration 3 to 4

##

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

Less More

- Posts: 53
- Thank you received: 1
-
-

4 years 4 weeks ago [\#345366](#345366) by [publiduty](/forum/user/27552-publiduty "View publiduty's Profile")  *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345366 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")* was created by *[publiduty](/forum/user/27552-publiduty "View publiduty's Profile")*

-- url of the page with the problem -- : [ www.paradepot.ch/new/](https://www.paradepot.ch/new/)
-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.2.3
-- PHP version -- : 8.1
-- Browser(s) name and version -- : div.
-- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()

I have emigrated hikashop from joomla 3 to 4.
Everything is going well until the purchase is completed.

0 Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()
Call stack
\# Function Location
1 () JROOT/media/com_hikashop/mail/order_creation_notification.text.modified.php:70
2 require() JROOT/administrator/components/com_hikashop/classes/mail.php:367
3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com_hikashop/classes/mail.php:32
4 hikashopMailClass-&gt;get() JROOT/administrator/components/com_hikashop/classes/order.php:1997
5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com_hikashop/classes/order.php:441
6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com_hikashop/classes/order.php:906
7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com_hikashop/controllers/checkout.php:671
8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672
9 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2390
10 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:88
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
15 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
16 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
17 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/includes/app.php:61
18 require_once() JROOT/index.php:32

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwNTEyNC1taWdyYXRpb24tMy10by00P3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

4 years 3 weeks ago [\#345368](#345368) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345368 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

Hi,

That error comes from custom code you have for the "order creation notification" for the "text" version of the email. So in the menu System&gt;Emails, click on the delete icon for the "text" customization of that email and it will remove that error.
If you have other customized emails you might get a similar error (for the order status notification for example).

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

4 years 3 weeks ago -  4 years 3 weeks ago [\#345394](#345394) by [publiduty](/forum/user/27552-publiduty "View publiduty's Profile")  Replied by *[publiduty](/forum/user/27552-publiduty "View publiduty's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345394 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

Thanks that works.
Next problem.
When I register a new address for a new order, another already existing address is displayed.

Last edit: 4 years 3 weeks ago by [publiduty](/forum/user/27552-publiduty "View publiduty's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwNTEyNC1taWdyYXRpb24tMy10by00P3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

4 years 3 weeks ago [\#345398](#345398) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345398 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

Hi,

Can you provide more information on the issue ?
Is that another address of the user account you're currently logged in ?
Or are you talking about the address of another user ?
Could you provide precise steps to reproduce the issue on your website (with screenshots if possible) ?

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

4 years 3 weeks ago [\#345411](#345411) by [publiduty](/forum/user/27552-publiduty "View publiduty's Profile")  Replied by *[publiduty](/forum/user/27552-publiduty "View publiduty's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345411 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

The joomla users and hika users do not match.
Is there a way to delete all hika users and resynchronise them with the joomla users?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwNTEyNC1taWdyYXRpb24tMy10by00P3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

4 years 3 weeks ago [\#345417](#345417) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345417 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

Hi,

Ah, you must have used a migration tool which changed the ids of the users in the joomla users table and thus the user_cms_id in the hikashop_user table doesn't match with the Joomla user id anymore.

Click on the "check database" button of the HikaShop configuration page and it will resynch the ids based on the email addresses.

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

4 years 3 weeks ago [\#345418](#345418) by [publiduty](/forum/user/27552-publiduty "View publiduty's Profile")  Replied by *[publiduty](/forum/user/27552-publiduty "View publiduty's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345418 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

Yes, I have imported the joomla users with a tool.
I checked the database but the IDs are still not correct and I still have users without names and usernames.

OK Table "hikashop_address" checked

OK Table "hikashop_badge" checked

OK Table "hikashop_banner" checked

OK Table "hikashop_cart" checked

OK Table "hikashop_cart_product" checked

OK Table "hikashop_category" checked

OK Table "hikashop_characteristic" checked

OK Table "hikashop_click" checked

OK Table "hikashop_config" checked

OK Table "hikashop_currency" checked

OK Table "hikashop_discount" checked

OK Table "hikashop_download" checked

OK Table "hikashop_entry" checked

OK Table "hikashop_field" checked

OK Table "hikashop_file" checked

OK Table "hikashop_filter" checked

OK Table "hikashop_geolocation" checked

OK Table "hikashop_history" checked

OK Table "hikashop_limit" checked

OK Table "hikashop_massaction" checked

OK Table "hikashop_order" checked

OK Table "hikashop_orderstatus" checked

OK Table "hikashop_order_product" checked

OK Table "hikashop_payment" checked

OK Table "hikashop_price" checked

OK Table "hikashop_product" checked

OK Table "hikashop_product_category" checked

OK Table "hikashop_product_related" checked

OK Table "hikashop_plugin" checked

OK Table "hikashop_shipping" checked

OK Table "hikashop_shipping_price" checked

OK Table "hikashop_tax" checked

OK Table "hikashop_taxation" checked

OK Table "hikashop_user" checked

OK Table "hikashop_variant" checked

OK Table "hikashop_vote" checked

OK Table "hikashop_vote_user" checked

OK Table "hikashop_waitlist" checked

OK Table "hikashop_widget" checked

OK Table "hikashop_zone" checked

OK Table "hikashop_zone_link" checked

OK Table "hikashop_warehouse" checked

OK Table "hikashop_email_log" checked

Info Missing core categories fixed

OK Product categories checked

OK Variants orphan links cleaned

OK Joomla users synchronized

OK User email addresses synchronized

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwNTEyNC1taWdyYXRpb24tMy10by00P3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

4 years 3 weeks ago -  4 years 3 weeks ago [\#345420](#345420) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345420 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

What do you mean by "the IDs are still not correct" ? The ID column in the users listing of HikaShop is the user_id not the user_cms_id, so it's normal it doesn't match the id of the user in Joomla.
And "I still have users without names and usernames" could be just because you have guest users. When someone places an order as a guest he will appear in the HikaShop user listing without a name/username.
So both could be normal.
The question is whether you see the address of someone else if you login and access the checkout (and you need to first delete the cart and logout/login so make sure the address is not cached).

I checked the code of the check database button and it runs this MySQL query: Code:

UPDATE &#96;#__hikashop_user&#96; AS hku LEFT JOIN &#96;#__users&#96; AS ju ON hku.&#96;user_email&#96;=ju.&#96;email&#96; SET hku.&#96;user_cms_id&#96;=ju.&#96;id&#96; WHERE hku.&#96;user_cms_id&#96;!=ju.&#96;id&#96;

So after this query run, it's not possible that you still have a user in HikaShop with a different user_cms_id than the id of the user in HikaShop if they both have the same email address. So if you say that's what you have, then there is something else to it like you've clicked on check database on a different website than the one where you're looking at the users or something.

Last edit: 4 years 3 weeks ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

4 years 3 weeks ago [\#345586](#345586) by [publiduty](/forum/user/27552-publiduty "View publiduty's Profile")  Replied by *[publiduty](/forum/user/27552-publiduty "View publiduty's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345586 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

I still have the problem that the users do not match the email address.

- [ ![Bildschirmfoto2022-10-11um12.07.10.png](/forum/attachment/55695) ](/forum/attachment/55695 "...um12.07.10.png") [ ](/forum/attachment/55695?download=1 "...um12.07.10.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwNTEyNC1taWdyYXRpb24tMy10by00P3RtcGw9bWFya2Rvd24=) 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: 86316
- Thank you received: 14276
-
-

4 years 3 weeks ago [\#345601](#345601) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Migration 3 to 4](/forum/25-install-update/905124-migration-3-to-4#345601 "-- url of the page with the problem -- :   www.paradepot.ch/new/  -- HikaShop version -- : 4.6.2 -- Joomla version -- : 4.2.3 -- PHP version -- : 8.1 -- Browser(s) name and version -- : div. -- Error-message(debug-mod must be tuned on) -- : 0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin()  I have emigrated hikashop from joomla 3 to 4. Everything is going well until the purchase is completed.  0 Call to undefined method Joomla&#92;CMS&#92;Application&#92;SiteApplication::isAdmin() Call stack # Function Location 1 () JROOT/media/com&#95;hikashop/mail/order&#95;creation&#95;notification.text.modified.php:70 2 require() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:367 3 hikashopMailClass-&gt;loadEmail() JROOT/administrator/components/com&#95;hikashop/classes/mail.php:32 4 hikashopMailClass-&gt;get() JROOT/administrator/components/com&#95;hikashop/classes/order.php:1997 5 hikashopOrderClass-&gt;loadOrderNotification() JROOT/administrator/components/com&#95;hikashop/classes/order.php:441 6 hikashopOrderClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/order.php:906 7 hikashopOrderClass-&gt;createFromCart() JROOT/components/com&#95;hikashop/controllers/checkout.php:671 8 checkoutController-&gt;confirm() JROOT/libraries/src/MVC/Controller/BaseController.php:672 9 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2390 10 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:88 11 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 12 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 13 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355 14 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200 15 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:241 16 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:294 17 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/includes/app.php:61 18 require&#95;once() JROOT/index.php:32")*

Hi,

That's strange, you have the email address of the user as username ?
In that case, run the MySQL query: Code:

UPDATE &#96;#__hikashop_user&#96; AS hku LEFT JOIN &#96;#__users&#96; AS ju ON hku.&#96;user_email&#96;=ju.&#96;username&#96; SET hku.&#96;user_cms_id&#96;=ju.&#96;id&#96; WHERE hku.&#96;user_cms_id&#96;!=ju.&#96;id&#96;

via your PHPMyAdmin (make sure you replace #__ by your table prefix in the Joomla configuration and it should help).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwNTEyNC1taWdyYXRpb24tMy10by00P3RtcGw9bWFya2Rvd24=) 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.235 seconds

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

[](#top)
