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

#   migration Joomla 4

##

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

Less More

- Posts: 176
- Thank you received: 8
-
-

3 years 8 months ago [\#349688](#349688) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  *[migration Joomla 4](/forum/5-support-en-francais-french-support-/905986-migration-joomla-4#349688 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.7 -- PHP version -- : 8.1.14  Bonjour  Je viens de migrer mon site de J3 à J4 et php7.4 à 8.1.14 Il s'agit d'ajouter des produits configurés, donc uniques, que Hikashop crée et ajoute au panier.  Tout fonctionne très bien SAUF LES PRODUITS CONFIGURABLES. J'ai mon fichier helper.php qui a un problème, probablement suite à l'upgrade de php 7 à 8.  A tout hasard verriez-vous de suite, avec votre oeil exercé, où peut bien se trouver l'erreur (probablement de syntaxe)? Ou le mal est-il plus profond?  Merci pour votre aide, en vous souhaitant une bonne journée.  Jean-Loup")* was created by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")*

-- HikaShop version -- : 4.7.1
-- Joomla version -- : 4.2.7
-- PHP version -- : 8.1.14

Bonjour

Je viens de migrer mon site de J3 à J4 et php7.4 à 8.1.14
Il s'agit d'ajouter des produits configurés, donc uniques, que Hikashop crée et ajoute au panier.

Tout fonctionne très bien SAUF LES PRODUITS CONFIGURABLES. J'ai mon fichier helper.php qui a un problème, probablement suite à l'upgrade de php 7 à 8.

A tout hasard verriez-vous de suite, avec votre oeil exercé, où peut bien se trouver l'erreur (probablement de syntaxe)?
Ou le mal est-il plus profond?

Merci pour votre aide, en vous souhaitant une bonne journée.

Jean-Loup

*This attachment is hidden for guests.
Please log in or register to see it.*

*This attachment is hidden for guests.
Please log in or register to see it.*

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

3 years 8 months ago [\#349693](#349693) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[migration Joomla 4](/forum/5-support-en-francais-french-support-/905986-migration-joomla-4#349693 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.7 -- PHP version -- : 8.1.14  Bonjour  Je viens de migrer mon site de J3 à J4 et php7.4 à 8.1.14 Il s'agit d'ajouter des produits configurés, donc uniques, que Hikashop crée et ajoute au panier.  Tout fonctionne très bien SAUF LES PRODUITS CONFIGURABLES. J'ai mon fichier helper.php qui a un problème, probablement suite à l'upgrade de php 7 à 8.  A tout hasard verriez-vous de suite, avec votre oeil exercé, où peut bien se trouver l'erreur (probablement de syntaxe)? Ou le mal est-il plus profond?  Merci pour votre aide, en vous souhaitant une bonne journée.  Jean-Loup")*

Bonjour,

Ce n'est pas un problème lié à Joomla 4 ou HikaShop. C'est lié à PHP8.
Le code: Code:

$price = null; $price-&gt;price_value = $watchPrice;

n'est plus valide en PHP8. Il faut maintenant écrire cela: Code:

$price = new stdClass(); $price-&gt;price_value = $watchPrice;

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

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

Less More

- Posts: 176
- Thank you received: 8
-
-

3 years 8 months ago [\#349707](#349707) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  Replied by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")* on topic *[migration Joomla 4](/forum/5-support-en-francais-french-support-/905986-migration-joomla-4#349707 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.7 -- PHP version -- : 8.1.14  Bonjour  Je viens de migrer mon site de J3 à J4 et php7.4 à 8.1.14 Il s'agit d'ajouter des produits configurés, donc uniques, que Hikashop crée et ajoute au panier.  Tout fonctionne très bien SAUF LES PRODUITS CONFIGURABLES. J'ai mon fichier helper.php qui a un problème, probablement suite à l'upgrade de php 7 à 8.  A tout hasard verriez-vous de suite, avec votre oeil exercé, où peut bien se trouver l'erreur (probablement de syntaxe)? Ou le mal est-il plus profond?  Merci pour votre aide, en vous souhaitant une bonne journée.  Jean-Loup")*

Merci Nicolas. J'ai une autre petite erreur, celle-ci étant corrigée.

J'ai deux petits fichiers php à corriger comme vous l'avez fait, le helper étant l'un des deux

Je suis avocat de formation. Connaissez vous quelqu'un qui pourrait se charger de les relire contre rémunération?
J'imagine que ça ne doit pas être un gros boulot pour un spécialiste...

Bonne soirée

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

3 years 8 months ago [\#349710](#349710) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[migration Joomla 4](/forum/5-support-en-francais-french-support-/905986-migration-joomla-4#349710 "-- HikaShop version -- : 4.7.1 -- Joomla version -- : 4.2.7 -- PHP version -- : 8.1.14  Bonjour  Je viens de migrer mon site de J3 à J4 et php7.4 à 8.1.14 Il s'agit d'ajouter des produits configurés, donc uniques, que Hikashop crée et ajoute au panier.  Tout fonctionne très bien SAUF LES PRODUITS CONFIGURABLES. J'ai mon fichier helper.php qui a un problème, probablement suite à l'upgrade de php 7 à 8.  A tout hasard verriez-vous de suite, avec votre oeil exercé, où peut bien se trouver l'erreur (probablement de syntaxe)? Ou le mal est-il plus profond?  Merci pour votre aide, en vous souhaitant une bonne journée.  Jean-Loup")*

Bonsoir,

Nous pouvons faire cela.
Vous pouvez passer par [ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html) pour discuter des détails.

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

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