Erreur après mise à jour du fichier XML de comarquage
-
Bonjour,
Je rencontre actuellement un soucis sur plusieurs sites suite à la mise à jour du fichier XML de comarquage.
En effet, le fichier XML a été mis à jour hier et depuis, la page de sommaire (particulier) s’affiche en erreur (aucun souci pour les sous-pages de comarquage). Cependant, j’ai des sites ayant l’XML dans une ancienne date (2020-10-14) et eux n’ont aucun souci d’affichage.
Cordialement.
Log Apache :
[Fri Apr 21 10:02:10.943018 2023] [php:error] [pid 80353] [client 172.31.255.146:40220] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/sites/site-internet/wp-content/plugins/co-marquage-service-public/templates/models/accueil-part.php:208\nStack trace:\n#0 /var/www/sites/site-internet/wp-content/plugins/co-marquage-service-public/includes/front/parser.class.php(97): include()\n#1 /var/www/sites/site-internet/wp-content/plugins/co-marquage-service-public/includes/front/display.class.php(73): Kienso\Comarquage\Front\Parser->__construct()\n#2 /var/www/sites/site-internet/wp-content/plugins/co-marquage-service-public/includes/front/display.class.php(96): Kienso\Comarquage\Front\Display->display()\n#3 /var/www/sites/site-internet/wp-includes/shortcodes.php(355): Kienso\Comarquage\Front\Display->shortcode()\n#4 [internal function]: do_shortcode_tag()\n#5 /var/www/sites/site-internet/wp-includes/shortcodes.php(227): preg_replace_callback()\n#6 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(308): do_shortcode()\n#7 /var/www/sites/site-internet/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#8 /var/www/sites/site-internet/wp-includes/post-template.php(255): apply_filters()\n#9 /var/www/sites/site-internet/wp-content/themes/astra/template-parts/single/content-header.php(33): the_content()\n#10 /var/www/sites/site-internet/wp-includes/template.php(785): require(‘…’)\n#11 /var/www/sites/site-internet/wp-includes/template.php(718): load_template()\n#12 /var/www/sites/site-internet/wp-includes/general-template.php(204): locate_template()\n#13 /var/www/sites/site-internet/wp-content/themes/astra/inc/template-parts.php(376): get_template_part()\n#14 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(308): astra_entry_content_single_page_template()\n#15 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#16 /var/www/sites/site-internet/wp-includes/plugin.php(517): WP_Hook->do_action()\n#17 /var/www/sites/site-internet/wp-content/themes/astra/inc/core/theme-hooks.php(452): do_action()\n#18 /var/www/sites/site-internet/wp-content/themes/astra/template-parts/content-page.php(26): astra_entry_content_single_page()\n#19 /var/www/sites/site-internet/wp-includes/template.php(785): require(‘…’)\n#20 /var/www/sites/site-internet/wp-includes/template.php(718): load_template()\n#21 /var/www/sites/site-internet/wp-includes/general-template.php(204): locate_template()\n#22 /var/www/sites/site-internet/wp-content/themes/astra/inc/class-astra-loop.php(109): get_template_part()\n#23 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(308): Astra_Loop->template_parts_page()\n#24 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#25 /var/www/sites/site-internet/wp-includes/plugin.php(517): WP_Hook->do_action()\n#26 /var/www/sites/site-internet/wp-content/themes/astra/inc/class-astra-loop.php(197): do_action()\n#27 /var/www/sites/site-internet/wp-content/themes/astra/inc/class-astra-loop.php(174): Astra_Loop->loop_markup()\n#28 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(308): Astra_Loop->loop_markup_page()\n#29 /var/www/sites/site-internet/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()\n#30 /var/www/sites/site-internet/wp-includes/plugin.php(517): WP_Hook->do_action()\n#31 /var/www/sites/site-internet/wp-content/themes/astra/inc/core/theme-hooks.php(267): do_action()\n#32 /var/www/sites/site-internet/wp-content/themes/astra/page.php(32): astra_content_page_loop()\n#33 /var/www/sites/site-internet/wp-includes/template-loader.php(106): include(‘…’)\n#34 /var/www/sites/site-internet/wp-blog-header.php(19): require_once(‘…’)\n#35 /var/www/sites/site-internet/index.php(17): require(‘…’)\n#36 {main}\n thrown in /var/www/sites/site-internet/wp-content/plugins/co-marquage-service-public/templates/models/accueil-part.php on line 208, referer: https://site-internet.fr/mes-demarches/etat-civil/
- The topic ‘Erreur après mise à jour du fichier XML de comarquage’ is closed to new replies.