Error in templates $data[‘children’][‘groupe’]
-
I’ve been installing this plugin to many wordpress website and since last year and only on some of these website I have had issues with part of the template in the pro asso or particulier page.
I found the error. But I can’t permanently fix it easierly and I’d rather get the owners fix it themselves.
in /templates/models/accueil-pro.php line 163 you have this :
<?php $serviceenligne = $data['children']['groupe'][1]['children']['serviceenligne']; ?>
And for several other sections you parse the $data array for the right service name.
But you got the array key wrong. “serviceenligne” is not always at the key 1 of $data[‘children’][‘groupe’]…
Here is the complete $data object from a website that doesn’t have the bug :
array ( 'name' => 'publication', 'attributes' => array ( 'id' => 'accueil', 'type' => 'Accueil audience', ), 'children' => array ( 'dc:title' => array ( 0 => array ( 'name' => 'title', 'text' => 'Accueil', ), ), 'dc:creator' => array ( 0 => array ( 'name' => 'creator', 'text' => 'Direction de l\'information légale et administrative', ), ), 'dc:description' => array ( 0 => array ( 'name' => 'description', 'text' => 'Accueil', ), ), 'dc:publisher' => array ( 0 => array ( 'name' => 'publisher', 'text' => 'Direction de l\'information légale et administrative', ), ), 'dc:contributor' => array ( 0 => array ( 'name' => 'contributor', 'text' => 'Direction de l\'information légale et administrative (Première ministre)', ), ), 'dc:date' => array ( 0 => array ( 'name' => 'date', 'text' => 'modified 2022-04-07', ), ), 'dc:type' => array ( 0 => array ( 'name' => 'type', 'text' => 'Accueil', ), ), 'dc:format' => array ( 0 => array ( 'name' => 'format', 'text' => 'text/xml', ), ), 'dc:identifier' => array ( 0 => array ( 'name' => 'identifier', 'text' => 'accueil', ), ), 'dc:language' => array ( 0 => array ( 'name' => 'language', 'text' => 'Fr', ), ), 'dc:coverage' => array ( 0 => array ( 'name' => 'coverage', 'text' => 'France entière', ), ), 'dc:rights' => array ( 0 => array ( 'name' => 'rights', 'text' => 'https://www.service-public.fr/a-propos/mentions-legales', ), ), 'surtitre' => array ( 0 => array ( 'name' => 'surtitre', 'text' => 'Accueil', ), ), 'audience' => array ( 0 => array ( 'name' => 'audience', 'text' => 'Professionnels', ), ), 'canal' => array ( 0 => array ( 'name' => 'canal', 'text' => 'www.service-public.fr', ), ), 'groupe' => array ( 0 => array ( 'name' => 'groupe', 'token' => 'c8c8f35599520047c5870c8f0007f104', 'attributes' => array ( 'type' => 'Service en ligne', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Services en ligne', ), ), 'serviceenligne' => array ( 0 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R18133', 'url' => 'https://www.aides-entreprises.fr/', 'commentairelien' => 'Conna?tre les aides de l\'état et des collectivités territoriales pour les entreprises', 'type' => 'Outil de recherche', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Base de données des aides de l\'état et des collectivités territoriales', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé de l\'économie', 'attributes' => array ( 'id' => 'R30656', ), ), ), ), ), 1 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R61571', 'url' => 'https://www.impots.gouv.fr/portail/professionnel/calendrier-fiscal', 'type' => 'Téléservice', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Consulter votre calendrier fiscal', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé des finances', 'attributes' => array ( 'id' => 'R30612', ), ), ), ), ), 2 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R61360', 'url' => 'https://mon-entreprise.urssaf.fr/simulateurs/auto-entrepreneur', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Simulateur de revenus d\'un micro-entrepreneur', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Urssaf', 'attributes' => array ( 'id' => 'R30625', ), ), ), ), ), 3 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R43860', 'url' => 'https://www.urssaf.fr/portail/home/utile-et-pratique/estimateur-de-cotisations.html?ut=estimateurs', 'commentairelien' => 'Calculer les cotisations sociales pour l\'embauche de votre 1er salarié', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer les cotisations sociales pour l\'embauche d\'un premier salarié', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Urssaf', 'attributes' => array ( 'id' => 'R30863', ), ), ), ), ), 4 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R40280', 'url' => 'https://www.entreprendre.service-public.fr/simulateur/calcul/gratification-stagiaire', 'commentairelien' => 'Calculer le montant de la gratification d\'un stagiaire', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer le montant de la gratification minimale d\'un stagiaire', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Direction de l\'information légale et administrative (Dila) - Premier ministre', 'attributes' => array ( 'id' => 'R30608', ), ), ), ), ), 5 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R62089', 'url' => 'https://mission-transition.beta.gouv.fr/', 'type' => 'Outil de recherche', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Conna?tre les financements publics pour un projet de transition écologique et énergétique', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé de l\'environnement', 'attributes' => array ( 'id' => 'R30658', ), ), ), ), ), ), ), ), 1 => array ( 'name' => 'groupe', 'token' => '8432329d837a3429fad4344ae21a168f', 'attributes' => array ( 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Estimer, calculer, vérifier', ), ), 'serviceenligne' => array ( 0 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R40280', 'url' => 'https://www.entreprendre.service-public.fr/simulateur/calcul/gratification-stagiaire', 'commentairelien' => 'Calcul de la gratification d\'un stagiaire', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer le montant de la gratification minimale d\'un stagiaire', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Direction de l\'information légale et administrative (Dila) - Premier ministre', 'attributes' => array ( 'id' => 'R30608', ), ), ), ), ), 1 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R19567', 'url' => 'https://www.secu-independants.fr/simulateur-cotisations-sociales/', 'commentairelien' => 'Cotisations sociales des artisans et commer?ants', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Simulateur de cotisations sociales pour les artisans et commer?ants', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Urssaf', 'attributes' => array ( 'id' => 'R30625', ), ), ), ), ), 2 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R21853', 'url' => 'https://bpifrance-creation.fr/entrepreneur/simulateur-charge', 'commentairelien' => 'Charges de l\'auto-entrepreneur', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calcul des cotisations sociales du micro-entrepreneur', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Bpifrance Création', 'attributes' => array ( 'id' => 'R30690', ), ), ), ), ), 3 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R209', 'url' => 'https://www.entreprendre.service-public.fr/simulateur/calcul/interets-moratoires', 'commentairelien' => 'Intérêts moratoires des marchés publics', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer les intérêts moratoires des marchés publics', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Direction de l\'information légale et administrative (Dila) - Premier ministre', 'attributes' => array ( 'id' => 'R30608', ), ), ), ), ), 4 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R32720', 'url' => 'https://www.telerc.travail.gouv.fr/simulateur/indemnite', 'commentairelien' => 'Indemnité de rupture conventionnelle', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer le montant de l\'indemnité de rupture conventionnelle', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé du travail', 'attributes' => array ( 'id' => 'R30661', ), ), ), ), ), ), ), ), 2 => array ( 'name' => 'groupe', 'token' => 'b3f9e82eef762abb294662d9e33323c9', 'attributes' => array ( 'type' => 'Fiche Question-réponse', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Questions - réponses', ), ), 'questionreponse' => array ( 0 => array ( 'name' => 'questionreponse', 'text' => 'Comment bénéficier des aides aux entreprises ?', 'attributes' => array ( 'id' => 'F35240', 'audience' => 'Professionnels', ), ), 1 => array ( 'name' => 'questionreponse', 'text' => 'Comment obtenir un extrait K ou Kbis ?', 'attributes' => array ( 'id' => 'F21000', 'audience' => 'Professionnels', ), ), 2 => array ( 'name' => 'questionreponse', 'text' => 'Quels sont les délais de conservation des documents pour les entreprises ?', 'attributes' => array ( 'id' => 'F10029', 'audience' => 'Professionnels', ), ), 3 => array ( 'name' => 'questionreponse', 'text' => 'Comment obtenir un numéro Siren ou un Siret ?', 'attributes' => array ( 'id' => 'F32135', 'audience' => 'Professionnels', ), ), 4 => array ( 'name' => 'questionreponse', 'text' => 'Création, modification ou cessation d\'activité : à qui faut-il s\'adresser ?', 'attributes' => array ( 'id' => 'F24023', 'audience' => 'Professionnels', ), ), 5 => array ( 'name' => 'questionreponse', 'text' => 'La désignation d\'un commissaire aux comptes est-elle obligatoire ?', 'attributes' => array ( 'id' => 'F31440', 'audience' => 'Professionnels', ), ), ), ), ), 3 => array ( 'name' => 'groupe', 'token' => 'b788257f4f0417a751d4ef1ade6a3a04', 'attributes' => array ( 'type' => 'Fiche Comment faire si', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Comment faire pour…', ), ), 'commentfairesi' => array ( 0 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un restaurant', 'attributes' => array ( 'id' => 'F33794', ), ), 1 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un commerce', 'attributes' => array ( 'id' => 'F23571', ), ), 2 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir chauffeur de taxi', 'attributes' => array ( 'id' => 'F21907', ), ), 3 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir chauffeur de VTC', 'attributes' => array ( 'id' => 'F31027', ), ), 4 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir et gérer une auto-école', 'attributes' => array ( 'id' => 'F33785', ), ), 5 => array ( 'name' => 'commentfairesi', 'text' => 'Créer une entreprise de transporteur routier de marchandises', 'attributes' => array ( 'id' => 'F31849', ), ), 6 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un bureau de tabac', 'attributes' => array ( 'id' => 'F23602', ), ), 7 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir vendeur à domicile indépendant (VDI)', 'attributes' => array ( 'id' => 'F23962', ), ), 8 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir sa boutique en ligne (e-commerce)', 'attributes' => array ( 'id' => 'F35883', ), ), 9 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un food-truck, restauration ambulante', 'attributes' => array ( 'id' => 'F36831', ), ), 10 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir coiffeur : ouvrir votre salon ou exercer à domicile', 'attributes' => array ( 'id' => 'F36829', ), ), 11 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir brocanteur, antiquaire ou ouvrir un dép?t-vente', 'attributes' => array ( 'id' => 'F23207', ), ), 12 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir graphiste indépendant', 'attributes' => array ( 'id' => 'F36832', ), ), 13 => array ( 'name' => 'commentfairesi', 'text' => 'Créer une entreprise de pompes funèbres', 'attributes' => array ( 'id' => 'F36830', ), ), ), ), ), ), ), )
And this is the same $data object from my last website that experience this bug :
(I’ve fixed it here for now by changing the array keys in the code but yeah.)
array ( 'name' => 'publication', 'attributes' => array ( 'id' => 'accueil', 'type' => 'Accueil audience', ), 'children' => array ( 'dc:title' => array ( 0 => array ( 'name' => 'title', 'text' => 'Accueil', ), ), 'dc:creator' => array ( 0 => array ( 'name' => 'creator', 'text' => 'Direction de l\'information légale et administrative', ), ), 'dc:description' => array ( 0 => array ( 'name' => 'description', 'text' => 'Accueil', ), ), 'dc:publisher' => array ( 0 => array ( 'name' => 'publisher', 'text' => 'Direction de l\'information légale et administrative', ), ), 'dc:contributor' => array ( 0 => array ( 'name' => 'contributor', 'text' => 'Direction de l\'information légale et administrative (Première ministre)', ), ), 'dc:date' => array ( 0 => array ( 'name' => 'date', 'text' => 'modified 2022-04-07', ), ), 'dc:type' => array ( 0 => array ( 'name' => 'type', 'text' => 'Accueil', ), ), 'dc:format' => array ( 0 => array ( 'name' => 'format', 'text' => 'text/xml', ), ), 'dc:identifier' => array ( 0 => array ( 'name' => 'identifier', 'text' => 'accueil', ), ), 'dc:language' => array ( 0 => array ( 'name' => 'language', 'text' => 'Fr', ), ), 'dc:coverage' => array ( 0 => array ( 'name' => 'coverage', 'text' => 'France entière', ), ), 'dc:rights' => array ( 0 => array ( 'name' => 'rights', 'text' => 'https://www.service-public.fr/a-propos/mentions-legales', ), ), 'surtitre' => array ( 0 => array ( 'name' => 'surtitre', 'text' => 'Accueil', ), ), 'audience' => array ( 0 => array ( 'name' => 'audience', 'text' => 'Professionnels', ), ), 'canal' => array ( 0 => array ( 'name' => 'canal', 'text' => 'www.service-public.fr', ), ), 'groupe' => array ( 0 => array ( 'name' => 'groupe', 'token' => '2ac70c5d12899b2c954882cd4b06eeec', 'attributes' => array ( 'type' => 'Service en ligne', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Services en ligne', ), ), 'serviceenligne' => array ( 0 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R18133', 'url' => 'https://www.aides-entreprises.fr/', 'commentairelien' => 'Conna?tre les aides de l\'état et des collectivités territoriales pour les entreprises', 'type' => 'Outil de recherche', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Base de données des aides de l\'état et des collectivités territoriales', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé de l\'économie', 'attributes' => array ( 'id' => 'R30656', ), ), ), ), ), 1 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R61571', 'url' => 'https://www.impots.gouv.fr/portail/professionnel/calendrier-fiscal', 'type' => 'Téléservice', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Consulter votre calendrier fiscal', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé des finances', 'attributes' => array ( 'id' => 'R30612', ), ), ), ), ), 2 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R62089', 'url' => 'https://mission-transition.beta.gouv.fr/', 'type' => 'Outil de recherche', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Conna?tre les financements publics pour un projet de transition écologique et énergétique', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Ministère chargé de l\'environnement', 'attributes' => array ( 'id' => 'R30658', ), ), ), ), ), 3 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R61360', 'url' => 'https://mon-entreprise.urssaf.fr/simulateurs/auto-entrepreneur', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Simulateur de revenus d\'un micro-entrepreneur', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Urssaf', 'attributes' => array ( 'id' => 'R30625', ), ), ), ), ), 4 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R43860', 'url' => 'https://www.urssaf.fr/portail/home/utile-et-pratique/estimateur-de-cotisations.html?ut=estimateurs', 'commentairelien' => 'Calculer les cotisations sociales pour l\'embauche de votre 1er salarié', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer les cotisations sociales pour l\'embauche d\'un salarié et sa rémunération à prévoir', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Urssaf', 'attributes' => array ( 'id' => 'R30863', ), ), ), ), ), 5 => array ( 'name' => 'serviceenligne', 'attributes' => array ( 'id' => 'R40280', 'url' => 'https://www.entreprendre.service-public.fr/simulateur/calcul/gratification-stagiaire', 'commentairelien' => 'Calculer le montant de la gratification d\'un stagiaire', 'type' => 'Simulateur', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Calculer le montant de la gratification minimale d\'un stagiaire', ), ), 'source' => array ( 0 => array ( 'name' => 'source', 'text' => 'Direction de l\'information légale et administrative (Dila) - Première ministre', 'attributes' => array ( 'id' => 'R30608', ), ), ), ), ), ), ), ), 1 => array ( 'name' => 'groupe', 'token' => '66a0a9cf31e12aa2924de78629260e1f', 'attributes' => array ( 'type' => 'Fiche Question-réponse', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Questions - réponses', ), ), 'questionreponse' => array ( 0 => array ( 'name' => 'questionreponse', 'text' => 'Comment bénéficier des aides aux entreprises ?', 'attributes' => array ( 'id' => 'F35240', 'audience' => 'Professionnels', ), ), 1 => array ( 'name' => 'questionreponse', 'text' => 'Comment obtenir un extrait K ou Kbis ?', 'attributes' => array ( 'id' => 'F21000', 'audience' => 'Professionnels', ), ), 2 => array ( 'name' => 'questionreponse', 'text' => 'Quels sont les délais de conservation des documents pour les entreprises ?', 'attributes' => array ( 'id' => 'F10029', 'audience' => 'Professionnels', ), ), 3 => array ( 'name' => 'questionreponse', 'text' => 'Comment obtenir un numéro Siren ou un Siret ?', 'attributes' => array ( 'id' => 'F32135', 'audience' => 'Professionnels', ), ), 4 => array ( 'name' => 'questionreponse', 'text' => 'Création, modification ou cessation d\'activité : à qui faut-il s\'adresser ?', 'attributes' => array ( 'id' => 'F24023', 'audience' => 'Professionnels', ), ), 5 => array ( 'name' => 'questionreponse', 'text' => 'La désignation d\'un commissaire aux comptes est-elle obligatoire ?', 'attributes' => array ( 'id' => 'F31440', 'audience' => 'Professionnels', ), ), ), ), ), 2 => array ( 'name' => 'groupe', 'token' => 'b3121830aa1a49b5a4c6984d35a69741', 'attributes' => array ( 'type' => 'Fiche Comment faire si', ), 'children' => array ( 'titre' => array ( 0 => array ( 'name' => 'titre', 'text' => 'Comment faire pour…', ), ), 'commentfairesi' => array ( 0 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un restaurant', 'attributes' => array ( 'id' => 'F33794', ), ), 1 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un commerce', 'attributes' => array ( 'id' => 'F23571', ), ), 2 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir chauffeur de taxi', 'attributes' => array ( 'id' => 'F21907', ), ), 3 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir chauffeur de VTC', 'attributes' => array ( 'id' => 'F31027', ), ), 4 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir et gérer une auto-école', 'attributes' => array ( 'id' => 'F33785', ), ), 5 => array ( 'name' => 'commentfairesi', 'text' => 'Créer une entreprise de transporteur routier de marchandises', 'attributes' => array ( 'id' => 'F31849', ), ), 6 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un bureau de tabac', 'attributes' => array ( 'id' => 'F23602', ), ), 7 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir sa boutique en ligne (e-commerce)', 'attributes' => array ( 'id' => 'F35883', ), ), 8 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir vendeur à domicile indépendant (VDI)', 'attributes' => array ( 'id' => 'F23962', ), ), 9 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir agent immobilier', 'attributes' => array ( 'id' => 'F32994', ), ), 10 => array ( 'name' => 'commentfairesi', 'text' => 'Ouvrir un food-truck, restauration ambulante', 'attributes' => array ( 'id' => 'F36831', ), ), 11 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir coiffeur : ouvrir votre salon ou exercer à domicile', 'attributes' => array ( 'id' => 'F36829', ), ), 12 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir brocanteur, antiquaire ou ouvrir un dép?t-vente', 'attributes' => array ( 'id' => 'F23207', ), ), 13 => array ( 'name' => 'commentfairesi', 'text' => 'Devenir graphiste indépendant', 'attributes' => array ( 'id' => 'F36832', ), ), 14 => array ( 'name' => 'commentfairesi', 'text' => 'Créer une entreprise de pompes funèbres', 'attributes' => array ( 'id' => 'F36830', ), ), ), ), ), ), ), )
Look closely at the ‘children’ => ‘groupe’ array. Somethimes it has 3 keys, sometimes 4…
The page I need help with: [log in to see the link]
- The topic ‘Error in templates $data[‘children’][‘groupe’]’ is closed to new replies.