Hello
Merci pour ta réponse.
Désolé mais je ne suis pas sur de comprendre ce que tu entends par data.
A. en phpmyadmin, je suis allé vérifier les types de mes différents champs extras : ils sont en txt
Voici les champs articles :
Nom Type Interclassement Attributs Null Valeur par défaut Commentaires Extra
1 id_article bigint(21) Non Aucune AUTO_INCREMENT
2 surtitre text utf8_general_ci Non Aucune
3 titre text utf8_general_ci Non Aucune
4 soustitre text utf8_general_ci Non Aucune
5 id_rubrique bigint(21) Non 0
6 descriptif text utf8_general_ci Non Aucune
7 chapo mediumtext utf8_general_ci Non Aucune
8 texte longtext utf8_general_ci Non Aucune
9 ps mediumtext utf8_general_ci Non Aucune
10 date datetime Non 0000-00-00 00:00:00
11 statut varchar(10) utf8_general_ci Non 0
12 id_secteur bigint(21) Non 0
13 maj timestamp on update CURRENT_TIMESTAMP Non CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
14 export varchar(10) utf8_general_ci Oui oui
15 date_redac datetime Non 0000-00-00 00:00:00
16 visites int(11) Non 0
17 referers int(11) Non 0
18 popularite double Non 0
19 accepter_forum char(3) utf8_general_ci Non
20 date_modif datetime Non 0000-00-00 00:00:00
21 lang varchar(10) utf8_general_ci Non
22 langue_choisie varchar(3) utf8_general_ci Oui non
23 id_trad bigint(21) Non 0
24 accepter_note char(3) utf8_general_ci Non
25 code_tiers text utf8_general_ci Non Aucune
26 textarea_1 text utf8_general_ci Non Aucune
27 nom_site tinytext utf8_general_ci Non Aucune
28 url_site text utf8_general_ci Non Aucune
29 titre_logo text utf8_general_ci Non Aucune
30 pays text utf8_general_ci Non Aucune
31 departement text utf8_general_ci Non Aucune
32 virtuel text utf8_general_ci Non Aucune
33 s2s_url varchar(255) utf8_general_ci Non
34 s2s_url_trad varchar(255) utf8_general_ci Non
35 s2s_url_site_distant text utf8_general_ci Non Aucune
36 s2s_id_article_distant bigint(20) Oui NULL
B. dans champs extras : quand j'ai voulu étider un champ extra d'un article, j'ai obtenu une ribambelle de "Warning: in_array() expects parameter 2 to be array". Qu'est ce que je dois vérifier/modifier ?
Voici un lien vers copie écran des 6 pages de paramétrage d'un champ extra : Microsoft OneDrive
Je n'ai pas accès au paramétrage des champs extras générés par le plugin Spip2Spip : s2s_url, s2s_url_trad, s2s_url_site_distant et s2s_id_article_distant.
Merci
Guilain
-----Message d'origine-----
De : tcharlss <tcharlss@bravecassine.com>
Envoyé : lundi 9 avril 2018 13:39
À : spip@rezo.net
Objet : Re: [Spip] Warning: in_array() expects parameter 2 to be array... etc
Visiblement il y a des champs extras sur les articles, et l'erreur vient d'une saisie radio.
Tu as mis quoi comme valeur dans "data" ?
Le 08/04/2018 à 12:16, Guilain DENISSELLE a écrit :
Bonjour,
Je viens de voir apparaître un message d'erreur lors de l'édition
d'article dans le back office :
*Warning*: in_array() expects parameter 2 to be array, null given in
*/var/www/vhosts/monsite.fr/httpdocs/tmp/cache/skel/html_1c4991a39b8d3f9182a70667674d7e32.php*
on line *78*
**
Sur un autre article, après avoir vidé le cache j'ai ce message :
*Warning*: in_array() expects parameter 2 to be array, null given in
*/var/www/vhosts/monsite.fr/httpdocs/ecrire/public/composer.php(92) :
eval()'d code* on line *71*
Environnement :
SPIP 3.2.1 [23954]
Ubuntu 14.04.5 LTS
Plesk Onyx v17.5.3
PHP-FPM 7.0.29
Quelqu'un a une idée ?
D'avance merci
Guilain
_______________________________________________
liste spip
spip@rezo.net - désabonnement : envoyer un mail à spip-off@rezo.net
Archives : https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mail-archive.com%2Fspip%40rezo.net%2Fmaillist.html&data=02|01||76ee092f62784c4d902a08d59e0e95d5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636588707830557945&sdata=CT7dJKwH0tck24KiKuUnl4wTAWWJaKPZL2hp0pe1528%3D&reserved=0
Infos : https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flistes.rezo.net%2Fmailman%2Flistinfo%2Fspip&data=02|01||76ee092f62784c4d902a08d59e0e95d5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636588707830557945&sdata=o%2BAhEj5lM6ZX3CAEqypeKI9ofnlQO9rbxDydQtUGtQk%3D&reserved=0
Documentation de SPIP : https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spip.net%2F&data=02|01||76ee092f62784c4d902a08d59e0e95d5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636588707830557945&sdata=AH%2BQ%2FrXbt%2BB511ianWxyUFv90Czidydho3geOeAMuE0%3D&reserved=0
Irc : de l'aide à toute heure : https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspip.net%2Firc&data=02|01||76ee092f62784c4d902a08d59e0e95d5|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636588707830557945&sdata=FqcBYvk54ifq%2BczG82%2FSn4bQFc%2FCGbXWkahJAB5w5yY%3D&reserved=0