Installation de plugins ?

Sous spip 3.2.1 l’installation de plugins me donne les messages suivants :

Warning: A non-numeric value encountered in /homepages/11/…/htdocs/afl/plugins-dist/archiviste/inc/pclzip.php on line 1873

Warning: Cannot modify header information - headers already sent by (output started at /homepages/11/…/afl/plugins-dist/archiviste/inc/pclzip.php:1873) in /homepages/11/d689947885/htdocs/afl/ecrire/inc/actions.php on line 147

Que se passe-t-il ? Que dois-je faire ?

Merci

Nouveaux messages d’erreur :

Warning: A non-numeric value encountered in /homepages/11/…/htdocs/afl/plugins-dist/archiviste/inc/pclzip.php on line 1873

Ou encore :

Warning: A non-numeric value encountered in /homepages/11/…/htdocs/afl/ecrire/inc/filtres.phpon line 2063

Que faire ?

Merci

Le lun. 15 oct. 2018 à 10:04, Robert CARON <robert.caron.centre@gmail.com> a écrit :

Sous spip 3.2.1 l’installation de plugins me donne les messages suivants :

Warning: A non-numeric value encountered in /homepages/11/…/htdocs/afl/plugins-dist/archiviste/inc/pclzip.php on line 1873

Warning: Cannot modify header information - headers already sent by (output started at /homepages/11/…/afl/plugins-dist/archiviste/inc/pclzip.php:1873) in /homepages/11/d689947885/htdocs/afl/ecrire/inc/actions.php on line 147

Que se passe-t-il ? Que dois-je faire ?

Merci

Hello :blush:

La version de php ?

Si tu es chez ovh, tu peux aussi dire concernant ta config php

Environnement : stable ?

Version PHP ?

Moteur:phpcgi ?

Mode: production ?

Si tu es en php 7.2, il faut que tu descende en 7.1 max, car spip n’est pas encore compatible php 7.2 https://www.spip.net/fr_article4351.html

Franck

De : Robert CARON robert.caron.centre@gmail.com
Envoyé : lundi 15 octobre 2018 10:04
À : Liste Spip rezo.net spip@rezo.net
Objet : [Spip] Installation de plugins ?

Sous spip 3.2.1 l’installation de plugins me donne les messages suivants :

Warning: A non-numeric value encountered in /homepages/11/…/htdocs/afl/plugins-dist/archiviste/inc/pclzip.php on line 1873

Warning: Cannot modify header information - headers already sent by (output started at /homepages/11/…/afl/plugins-dist/archiviste/inc/pclzip.php:1873) in /homepages/11/d689947885/htdocs/afl/ecrire/inc/actions.php on line 147

Que se passe-t-il ? Que dois-je faire ?

Merci

Je suis en php 7.1
Hébergement 1and1
Site en production

Robert

Le lun. 15 oct. 2018 à 10:46, Franck <spip.franck@lien-d-amis.net> a écrit :

Hello :blush:

La version de php ?

Si tu es chez ovh, tu peux aussi dire concernant ta config php

Environnement : stable ?

Version PHP ?

Moteur:phpcgi ?

Mode: production ?

Si tu es en php 7.2, il faut que tu descende en 7.1 max, car spip n’est pas encore compatible php 7.2 https://www.spip.net/fr_article4351.html

Franck

De : Robert CARON <robert.caron.centre@gmail.com>
Envoyé : lundi 15 octobre 2018 10:04
À : Liste Spip rezo.net <spip@rezo.net>
Objet : [Spip] Installation de plugins ?

Sous spip 3.2.1 l’installation de plugins me donne les messages suivants :

Warning: A non-numeric value encountered in /homepages/11/…/htdocs/afl/plugins-dist/archiviste/inc/pclzip.php on line 1873

Warning: Cannot modify header information - headers already sent by (output started at /homepages/11/…/afl/plugins-dist/archiviste/inc/pclzip.php:1873) in /homepages/11/d689947885/htdocs/afl/ecrire/inc/actions.php on line 147

Que se passe-t-il ? Que dois-je faire ?

Merci

Le 15/10/2018 à 10:04, Robert CARON a écrit :

Sous spip 3.2.1 l'installation de plugins me donne les messages suivants :

*Warning*: A non-numeric value encountered in */homepages/11/.../htdocs/afl/plugins-dist/archiviste/inc/pclzip.php* on line *1873*

*Warning*: Cannot modify header information - headers already sent by (output started at /homepages/11/.../afl/plugins-dist/archiviste/inc/pclzip.php:1873) in */homepages/11/d689947885/htdocs/afl/ecrire/inc/actions.php* on line *147*

Que se passe-t-il ? Que dois-je faire ?

Merci

1. Il s'agit d'un message d'alerte sur des WARNING. Normalement un site ne devrait pas afficher les simple alerte de type Warning lorsqu'il est en production.
2. Du coup il faudrait diminuer le seuil d'alerte PHP
  1. Soit demander à ton hébergeur
  2. Soit mettre dans mes_options.php
error_reporting(E_ALL & ~E_NOTICE);
3. Dans tous les cas il s'agit d'un problème de programmation de SPIP (on devrait pas avoir des warning) donc il serait bon d'ouvrir un ticket.