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

#   500 error after sending order

##

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

Less More

- Posts: 48
- Thank you received: 4
-

3 years 5 months ago -  3 years 5 months ago [\#352409](#352409) by [pat01](/forum/user/58191-pat01 "View pat01's Profile")  *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352409 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")* was created by *[pat01](/forum/user/58191-pat01 "View pat01's Profile")*

-- HikaShop version -- : 4.7.3
-- Joomla version -- : 4.3.2
-- PHP version -- : 8.1
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : 500 Error

Hi

After clicking the order button I get a 500 error.

Here is debug information:
Code:

There is no "template.cassiopeia.ltr" asset of a "preset" type in the registry. Joomla\CMS\WebAsset\Exception\ UnknownAssetException in /home/folder1/sub.domain.dd/libraries/src/WebAsset/WebAssetRegistry.php (line 134) { // Check if any new file was added $this-&gt;parseRegistryFiles(); if (empty($this-&gt;assets[$type][$name])) { throw new UnknownAssetException(sprintf('There is no "%s" asset of a "%s" type in the registry.', $name, $type)); } return $this-&gt;assets[$type][$name]; } WebAssetRegistry-&gt;get('preset', 'template.cassiopeia.ltr') in /home/folder1/sub.domain.dd/libraries/src/WebAsset/WebAssetManager.php (line 263) WebAssetManager-&gt;useAsset('preset', 'template.cassiopeia.ltr') in /home/folder1/sub.domain.dd/libraries/src/WebAsset/WebAssetManager.php (line 197) WebAssetManager-&gt;__call('usepreset', array('template.cassiopeia.ltr')) in /home/folder1/sub.domain.dd/templates/mytemplate/error.php (line 66) require('/home/folder1/sub.domain.dd/templates/mytemplate/error.php') in /home/folder1/sub.domain.dd/libraries/src/Document/HtmlDocument.php (line 741) HtmlDocument-&gt;_loadTemplate('/home/folder1/sub.domain.dd/templates/mytemplate', 'error.php') in /home/folder1/sub.domain.dd/libraries/src/Document/HtmlDocument.php (line 796) HtmlDocument-&gt;_fetchTemplate(array('template' =&gt; 'mytemplate', 'directory' =&gt; '/home/folder1/sub.domain.dd/templates', 'debug' =&gt; true, 'csp_nonce' =&gt; null, 'templateInherits' =&gt; '', 'params' =&gt; object(Registry), 'file' =&gt; 'error.php')) in /home/folder1/sub.domain.dd/libraries/src/Document/HtmlDocument.php (line 613) HtmlDocument-&gt;parse(array('template' =&gt; 'mytemplate', 'directory' =&gt; '/home/folder1/sub.domain.dd/templates', 'debug' =&gt; true, 'csp_nonce' =&gt; null, 'templateInherits' =&gt; '', 'params' =&gt; object(Registry), 'file' =&gt; 'error.php')) in /home/folder1/sub.domain.dd/libraries/src/Document/HtmlDocument.php (line 631) HtmlDocument-&gt;render(false, array('template' =&gt; 'mytemplate', 'directory' =&gt; '/home/folder1/sub.domain.dd/templates', 'debug' =&gt; true, 'csp_nonce' =&gt; null, 'templateInherits' =&gt; '', 'params' =&gt; object(Registry), 'file' =&gt; 'error.php')) in /home/folder1/sub.domain.dd/libraries/src/Document/ErrorDocument.php (line 139) ErrorDocument-&gt;render(false, array('template' =&gt; 'mytemplate', 'directory' =&gt; '/home/folder1/sub.domain.dd/templates', 'debug' =&gt; true, 'csp_nonce' =&gt; null, 'templateInherits' =&gt; '', 'params' =&gt; object(Registry), 'file' =&gt; 'error.php')) in /home/folder1/sub.domain.dd/libraries/src/Error/Renderer/HtmlRenderer.php (line 78) HtmlRenderer-&gt;render(object(Error)) in /home/folder1/sub.domain.dd/libraries/src/Exception/ExceptionHandler.php (line 121) ExceptionHandler::render(object(Error)) in /home/folder1/sub.domain.dd/libraries/src/Exception/ExceptionHandler.php (line 72) ExceptionHandler::handleException(object(Error)) in /home/folder1/sub.domain.dd/libraries/src/Application/CMSApplication.php (line 322) CMSApplication-&gt;execute() in /home/folder1/sub.domain.dd/includes/app.php (line 61) require_once('/home/folder1/sub.domain.dd/includes/app.php') in /home/folder1/sub.domain.dd/index.php (line 32) Error Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()

How can I solve this?

**Update:**
There must be a problem with the template I guess. Using other template seems to work. I will check deeper.

Patrick

This message contains confidential information

Last edit: 3 years 5 months ago by [pat01](/forum/user/58191-pat01 "View pat01's Profile").

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

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

Less More

- Posts: 48
- Thank you received: 4
-

3 years 5 months ago [\#352412](#352412) by [pat01](/forum/user/58191-pat01 "View pat01's Profile")  Replied by *[pat01](/forum/user/58191-pat01 "View pat01's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352412 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Switching to another template causes issues as well:
Code:

Die angeforderte Seite konnte nicht gefunden werden. Während der Anfrage ist ein Fehler aufgetreten. Die Seite kann nicht angezeigt werden, weil: ein veraltetes Lesezeichen aufgerufen wurde. eine falsche Adresse aufgerufen wurde. über eine Suchmaschine ein veralteter Index dieser Website aufgerufen wurde. keine Zugriffsrechte für diese Seite vorhanden sind. Zur Startseite wechseln Bei Problemen ist der Administrator dieser Website zuständig. 0 Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()

What is the problem?

Thanks.

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

3 years 5 months ago [\#352414](#352414) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352414 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Hi,

For the first error message "There is no "template.cassiopeia.ltr" asset of a "preset" type in the registry." here is a page where people talk about this and what to do:
[ www.hotjoomlatemplates.com/support-forum...00-errorsite?start=0](https://www.hotjoomlatemplates.com/support-forum/golf/25800-no-preview-possible-frontend-with-500-errorsite?start=0)

Regarding the second error "Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()", this means that you have something on your website which isn't compatible with Joomla 4. It could be anything. Please activate the "debug" setting of the Joomla configuration and try again. It will display an error message with more information, including the file where the problem is happening. That will allow us to tell you what to do.
The most likely cause is that you have an override of the "preload" section of an email of HikaShop in System&gt;Emails which is based on an old version of HikaShop, and this old override contains code not compatible with Joomla 4:
[ www.hikashop.com/forum/install-update/90...od-error/352361.html](https://www.hikashop.com/forum/install-update/906529-last-step-of-checkout-ends-with-call-to-undefined-method-error/352361.html)
But it could be something else. Only the debug information will allow us to say where is the problem for sure.

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

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

Less More

- Posts: 48
- Thank you received: 4
-

3 years 5 months ago [\#352416](#352416) by [pat01](/forum/user/58191-pat01 "View pat01's Profile")  Replied by *[pat01](/forum/user/58191-pat01 "View pat01's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352416 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Hi

I removed System &gt; email custom changes but it does not solve the problem.

If I set PHP 7.4 instead of PHP 8.1 then then ordering works fine.

When I did migrate from J3 to J4 I got some warnings, that some Hikashop plugins might not be compatible.
Is this possible? I suppose all Hika plugins do work with J4 as well?

Thanks.

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

3 years 5 months ago [\#352417](#352417) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352417 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Hi,

All the plugins we provide are compatible with Joomla 4. However, they need to be up to date on your website for that. For the plugins included in HikaShop, that's not a problem since they get updated together with HikaShop. But for plugins you installed separately, like the ones from our marketplace, you need to update them yourself.
Similarly, the plugins for HikaShop but that we didn't develop, like the payment plugins of third party developers we list in our documentation, need to be updated separately.

As I said, the email was just a guess. To be able to tell you what to do, we need the full error message you can get when you activate the debug setting of Joomla and access the page with the issue again.

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

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

Less More

- Posts: 48
- Thank you received: 4
-

3 years 5 months ago [\#352420](#352420) by [pat01](/forum/user/58191-pat01 "View pat01's Profile")  Replied by *[pat01](/forum/user/58191-pat01 "View pat01's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352420 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Hi

I have no plugin from marketplace installed.

The error has gone now. Here is what I did:

- Removed installation
- Installed it again from a backup

Now it works fine. I guess there must have gone something wrong when I installed it the first time (corrupt or missing file?).

The only issue I have now is, that after sending the order the cart is not empty.
What could cause this?

Thanks.

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

3 years 5 months ago [\#352424](#352424) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352424 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Hi,

The most common cause for what you describe is actually a missunderstanding.
When you have the "enable multi cart" setting activated in the HikaShop configuration, it means that users can have several carts at the same time. And when you do checkout tests with issues, you might end up with many carts with the same content linked to your user. So at the end of the checkout, when the current cart is cleared, the next cart is loaded, but since it's the same content, you think the cart is not cleared.
Go in Users&gt;Carts in your backend, delete the carts of the user account you're using for your tests and try again. Hopefully, the cart will be deleted at the end of the checkout.

The following user(s) said Thank You: [pat01](/forum/user/58191-pat01 "View pat01's Profile")

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

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

Less More

- Posts: 48
- Thank you received: 4
-

3 years 5 months ago [\#352511](#352511) by [pat01](/forum/user/58191-pat01 "View pat01's Profile")  Replied by *[pat01](/forum/user/58191-pat01 "View pat01's Profile")* on topic *[500 error after sending order](/forum/25-install-update/906539-500-error-after-sending-order#352511 "-- HikaShop version -- : 4.7.3 -- Joomla version -- : 4.3.2 -- PHP version -- : 8.1 -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : 500 Error  Hi  After clicking the order button I get a 500 error.  Here is debug information:  How can I solve this?  Update: There must be a problem with the template I guess. Using other template seems to work. I will check deeper.  Patrick")*

Hi

Disabling "enable multi cart" setting did teh trick. I have no idea why this was set.

Thanks a lot for your help.

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

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