Jump to content
  • 0
MarcoB

Passage de PHP 5.6 à PHP 7.3

Question

Bonjour à toutes et à tous !

Je pense ne pas être le seul dans ce cas mais en passant de PHP 5.6 à 7.3, le site et le tableau de bord de WP affichent ça :


Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-content/plugins/revslider/includes/operations.class.php on line 2858

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-content/plugins/revslider/includes/operations.class.php on line 2862

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-content/plugins/revslider/includes/output.class.php on line 3708

Warning: Cannot modify header information - headers already sent by (output started at /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-content/plugins/revslider/includes/operations.class.php:2858) in /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-includes/functions.php on line 6221

Warning: Cannot modify header information - headers already sent by (output started at /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-content/plugins/revslider/includes/operations.class.php:2858) in /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-admin/includes/misc.php on line 1259

Warning: Cannot modify header information - headers already sent by (output started at /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-content/plugins/revslider/includes/operations.class.php:2858) in /datas/vol4/yulpa167591/var/www/laetiphoto.com/htdocs/wp-admin/admin-header.php on line 9

 

Je suis donc repassé en 5.6 et visiblement plus de bug.

L'outil "Santé du site" me dit juste que j'ai un souci de version de PHP mais ça je le savait déjà vu la volonté de passer en 7.3 ...

Quelqu'un saurait d'où ça vient et ce qu'il faut faire pour palier au souci ??

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

Bonjour,

Une petite recherche sur google donne la solution :)
https://wordpress.org/support/topic/warning-continue-targeting-switch-is-equivalent-to-break-did-you-mean-to-u/
Visiblement le problème vient du plugin "revslider".
Vous pouvez soit le désactiver, soit passer en php 7.2, soit contacter le développeur du plugins ;)

Cordialement,
Mick

Edited by Mickelebof

Share this post


Link to post
Share on other sites
  • 0

Merciiiiii !

J'avais pas fait attention que c'était Rev Slider.

En effet en permettant à jour ca fonctionne sous PHP 7.3 maintenant !

Merci pour ton aide !

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...