FAQ Plugin not php 7 compatible – fix coming?
-
When changing hosts to a server using php7, I noticed that this and other FAQ plugins are no longer working properly. Looking at php errors reveals that several functions used are depreciated. Are there plans (in the very near future) to update this plugin for php7 compatibility?
Copy of PHP errors and warnings below:
FILE: /tiny-project/wp-content/plugins/ultimate-faqs/FPDF/makefont/makefont.php
———————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————
316 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
———————————————————————————————————FILE: /tiny-project/wp-content/plugins/ultimate-faqs/FPDF/tutorial/tuto6.php
———————————————————————————————
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————
11 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
———————————————————————————————FILE: /tiny-project/wp-content/plugins/ultimate-faqs/FPDF/fpdf.php
————————————————————————————————————
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
————————————————————————————————————
76 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
1055 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
————————————————————————————————————FILE: /tiny-project/wp-content/plugins/ultimate-faqs/PHPExcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php
————————————————————————————————————
FOUND 2 ERRORS AND 1 WARNING AFFECTING 3 LINES
————————————————————————————————————
215 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
5347 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
5378 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
————————————————————————————————————FILE: /tiny-project/wp-content/plugins/ultimate-faqs/PHPExcel/Classes/PHPExcel/Shared/JAMA/examples/Stats.php
—————————————————————————————————————————————————————
FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
—————————————————————————————————————————————————————
1428 | WARNING | Method name “Base::__sumdiff” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1460 | WARNING | Method name “Base::__calcVariance” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1488 | WARNING | Method name “Base::__calcAbsoluteDeviation” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1513 | WARNING | Method name “Base::__sumabsdev” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1545 | WARNING | Method name “Base::__format” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
—————————————————————————————————————————————————————FILE: /tiny-project/wp-content/plugins/ultimate-faqs/PHPExcel/Classes/PHPExcel/CachedObjectStorage/SQLite.php
————————————————————————————————————-
FOUND 9 ERRORS AFFECTING 9 LINES
————————————————————————————————————-
63 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
64 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
108 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
142 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
166 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
211 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
236 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
274 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
276 | ERROR | Extension ‘sqlite’ is removed since PHP 5.4
————————————————————————————————————-FILE: /tiny-project/wp-content/plugins/ultimate-faqs/PHPExcel/Classes/PHPExcel/Calculation/Functions.php
————————————————————————————————————————-
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————-
581 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
————————————————————————————————————————-FILE: /tiny-project/wp-content/plugins/ultimate-faqs/PHPExcel/Classes/PHPExcel/Calculation/Database.php
—————————————————————————————————————————————————————————–
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
—————————————————————————————————————————————————————————–
67 | WARNING | Method name “PHPExcel_Calculation_Database::__fieldExtract” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
98 | WARNING | Method name “PHPExcel_Calculation_Database::__filter” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
—————————————————————————————————————————————————————————–
The topic ‘FAQ Plugin not php 7 compatible – fix coming?’ is closed to new replies.