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

#   Erreur 500 à l'enregistrement d'une adresse après modification

##

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

Less More

- Posts: 510
- Thank you received: 37
-
-

7 years 5 days ago -  7 years 5 days ago [\#313394](#313394) by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")  *[Erreur 500 à l'enregistrement d'une adresse après modification](/forum/5-support-en-francais-french-support-/898734-erreur-500-a-lenregistrement-dune-adresse-apres-modification#313394 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.3 -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 () index.php?option=com&#95;hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109  Bonjour,  Quand j'édite une adresse, j'ai une erreur 500 (Internal Server Error) à l'enregistrement :  Failed to load resource: the server responded with a status of 500 () index.php?option=com&#95;hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109  Quand je tente d'accéder à la page, j'obtiens &quot;Erreur, Accès interdit&quot;  Avec &quot;tmpl=raw&quot; dans l'URL je crois comprendre qu'il s'agit d'une requête AJAX. Mais pourquoi est-elle bloquée et par quoi, mystère ?  Ça ne se produit pas lors de la création d'une adresse Ça ne se produit pas lors de la suppression d'une adresse Ça ne vient pas du SEF (même problème avec SEF activé/désactivé) Ça ne vient pas de l'extension de sécurité (désactivée)  J'utilise Gantry 5 qui me fournit aussi cette information : 0 Call to a member function getCart() on null Call stack # Function Location 1 () JROOT/administrator/components/com&#95;hikashop/classes/address.php:246 2 hikashopAddressClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/address.php:424 3 hikashopAddressClass-&gt;frontSaveForm() JROOT/components/com&#95;hikashop/controllers/address.php:176 4 addressController-&gt;save() JROOT/libraries/src/MVC/Controller/BaseController.php:710 5 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:1976 6 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:92 7 require&#95;once() JROOT/libraries/src/Component/ComponentHelper.php:402 8 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377 9 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194 10 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233 11 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196 12 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/index.php:49")* was created by *[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.13
-- PHP version -- : 7.3
-- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 () index.php?option=com_hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109

Bonjour,

Quand j'édite une adresse, j'ai une erreur 500 (Internal Server Error) à l'enregistrement :

Failed to load resource: the server responded with a status of 500 () index.php?option=com_hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109

Quand je tente d'accéder à la page, j'obtiens "Erreur, Accès interdit"

Avec "tmpl=raw" dans l'URL je crois comprendre qu'il s'agit d'une requête AJAX. Mais pourquoi est-elle bloquée et par quoi, mystère ?

Ça ne se produit pas lors de la création d'une adresse
Ça ne se produit pas lors de la suppression d'une adresse
Ça ne vient pas du SEF (même problème avec SEF activé/désactivé)
Ça ne vient pas de l'extension de sécurité (désactivée)

J'utilise Gantry 5 qui me fournit aussi cette information :
0 Call to a member function getCart() on null
Call stack
\# Function Location
1 () JROOT/administrator/components/com_hikashop/classes/address.php:246
2 hikashopAddressClass-&gt;save() JROOT/administrator/components/com_hikashop/classes/address.php:424
3 hikashopAddressClass-&gt;frontSaveForm() JROOT/components/com_hikashop/controllers/address.php:176
4 addressController-&gt;save() JROOT/libraries/src/MVC/Controller/BaseController.php:710
5 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:1976
6 hikashopController-&gt;execute() JROOT/components/com_hikashop/hikashop.php:92
7 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
10 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
11 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
12 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49

Last edit: 7 years 5 days ago by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile"). Reason: Problème corrigé par la réinstallation d'un package plus récent d'Hikashop 4.2.2

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

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

Less More

- Posts: 510
- Thank you received: 37
-
-

7 years 5 days ago -  7 years 5 days ago [\#313396](#313396) by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")  Replied by *[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")* on topic *[Erreur 500 à l'enregistrement d'une adresse après modification](/forum/5-support-en-francais-french-support-/898734-erreur-500-a-lenregistrement-dune-adresse-apres-modification#313396 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.3 -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 () index.php?option=com&#95;hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109  Bonjour,  Quand j'édite une adresse, j'ai une erreur 500 (Internal Server Error) à l'enregistrement :  Failed to load resource: the server responded with a status of 500 () index.php?option=com&#95;hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109  Quand je tente d'accéder à la page, j'obtiens &quot;Erreur, Accès interdit&quot;  Avec &quot;tmpl=raw&quot; dans l'URL je crois comprendre qu'il s'agit d'une requête AJAX. Mais pourquoi est-elle bloquée et par quoi, mystère ?  Ça ne se produit pas lors de la création d'une adresse Ça ne se produit pas lors de la suppression d'une adresse Ça ne vient pas du SEF (même problème avec SEF activé/désactivé) Ça ne vient pas de l'extension de sécurité (désactivée)  J'utilise Gantry 5 qui me fournit aussi cette information : 0 Call to a member function getCart() on null Call stack # Function Location 1 () JROOT/administrator/components/com&#95;hikashop/classes/address.php:246 2 hikashopAddressClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/address.php:424 3 hikashopAddressClass-&gt;frontSaveForm() JROOT/components/com&#95;hikashop/controllers/address.php:176 4 addressController-&gt;save() JROOT/libraries/src/MVC/Controller/BaseController.php:710 5 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:1976 6 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:92 7 require&#95;once() JROOT/libraries/src/Component/ComponentHelper.php:402 8 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377 9 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194 10 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233 11 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196 12 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/index.php:49")*

L'erreur se produit en frontend et backend.

Et j'ai une erreur similaire lorsque j'édite un client dans le backend puis que j'enregistre :
Call to a member function getCart() on null

Last edit: 7 years 5 days ago by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile").

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

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

Less More

- Posts: 510
- Thank you received: 37
-
-

7 years 5 days ago [\#313399](#313399) by [lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")  Replied by *[lesyeux](/forum/user/1216-lesyeux "View lesyeux's Profile")* on topic *[Erreur 500 à l'enregistrement d'une adresse après modification](/forum/5-support-en-francais-french-support-/898734-erreur-500-a-lenregistrement-dune-adresse-apres-modification#313399 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.13 -- PHP version -- : 7.3 -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 () index.php?option=com&#95;hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109  Bonjour,  Quand j'édite une adresse, j'ai une erreur 500 (Internal Server Error) à l'enregistrement :  Failed to load resource: the server responded with a status of 500 () index.php?option=com&#95;hikashop&amp;ctrl=address&amp;task=save&amp;cid=6&amp;tmpl=raw&amp;Itemid=109  Quand je tente d'accéder à la page, j'obtiens &quot;Erreur, Accès interdit&quot;  Avec &quot;tmpl=raw&quot; dans l'URL je crois comprendre qu'il s'agit d'une requête AJAX. Mais pourquoi est-elle bloquée et par quoi, mystère ?  Ça ne se produit pas lors de la création d'une adresse Ça ne se produit pas lors de la suppression d'une adresse Ça ne vient pas du SEF (même problème avec SEF activé/désactivé) Ça ne vient pas de l'extension de sécurité (désactivée)  J'utilise Gantry 5 qui me fournit aussi cette information : 0 Call to a member function getCart() on null Call stack # Function Location 1 () JROOT/administrator/components/com&#95;hikashop/classes/address.php:246 2 hikashopAddressClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/address.php:424 3 hikashopAddressClass-&gt;frontSaveForm() JROOT/components/com&#95;hikashop/controllers/address.php:176 4 addressController-&gt;save() JROOT/libraries/src/MVC/Controller/BaseController.php:710 5 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:1976 6 hikashopController-&gt;execute() JROOT/components/com&#95;hikashop/hikashop.php:92 7 require&#95;once() JROOT/libraries/src/Component/ComponentHelper.php:402 8 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377 9 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194 10 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233 11 Joomla&#92;CMS&#92;Application&#92;SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196 12 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/index.php:49")*

C'est bon, j'ai trouvé ce sujet en anglais [ www.hikashop.com/forum/customers/898639-...ormation.html#312894](https://www.hikashop.com/forum/customers/898639-call-to-a-member-function-getcart-on-null-when-editing-user-information.html#312894) qui concernait le problème d'édtion d'un client, alors j'ai résinstallé un package tout frais d'Hikashop 4.2.2 et cela a corrigé le problème.

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

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