i want to upgrade WP's php from the 7.0 version to the 7.2 at last .

for instance , SG optimizer give me errors while trying to upgrade to php 7.1

these are the ones :

The following plugins/themes are not compatible with PHP 7.1.

Html5 Audio PlayerSee Errors
FILE: /var/www/html/wp-content/plugins/html5-audio-player/inc/follow.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/wp-content/plugins/html5-audio-player/inc/custom-offer.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/wp-content/plugins/html5-audio-player/cmb2/js/index.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/wp-content/plugins/html5-audio-player/cmb2/css/index.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/wp-content/plugins/html5-audio-player/cmb2/images/index.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/wp-content/plugins/html5-audio-player/cmb2/includes/index.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


FILE: /var/www/html/wp-content/plugins/html5-audio-player/cmb2/index.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

WPForms LiteSee Errors
FILE: /var/www/html/wp-content/plugins/wpforms-lite/includes/analytics/class-monster-insights.php
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

End Report 1528548781

i don't know what to do ? and what to believe ? are these errors serious ?

can i upgrade anyway ? what to do in a case of a safe upgrade to php 7.1 and php 7.2 ? and what not to do ?

in simple ways if possible ...

i have to tell you that i already have php 7.2 installed on my machine and it seems to work perfectly but the WP's php is still the 7.0 , normal ?

greetings .

  • Ma configuration WP actuelle : - Version de WordPress : 4.9.6 - Version de PHP/MySQL : 7.0.29-1+b2 / 5.5.5 - Thème utilisé : Radiate - Thème URI : themegrill.com/themes/radiate - Extensions en place : Akismet Anti-Spam (4.0.7), Forum_wordpress_fr (4.1), Html5 Audio Player (1.0), SG Optimizer (4.0.7), ThemeGrill Demo Importer (1.4.3), WPForms Lite (1.4.7.1) - Adresse du site : localhost - Nom de l'hébergeur : Apache/2.4.33 (Debian) – alain bellec Jun 9 at 16:09
  • There's nothing you CAN do, unless you want to change the plugins yourself ( which the changes will be wiped out after the update ), or you ask the developer to update it. By the way, these aren't errors, these are warnings. They probably aren't fatal errors that ground your website. – Jack Johansson Jun 9 at 16:22

Many plugins have an 'empty' index.php that doesn't do anything; the plugin code is elsewhere.

But you need to contact the plugin's author/support to get a definitive answer.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.