Are you going to update the plugin to be php7 compatible? I know these are all from the PHPWord library but maybe you can get the authors to address?
FILE: /wp-content/plugins/reportbuilder/lib/PHPWord/Element/Object.php -------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------- 26 | ERROR | 'object' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_CLASS) --------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /wp-content/plugins/reportbuilder/lib/PHPWord/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: /wp-content/plugins/reportbuilder/lib/PHPWord/Writer/Word2007/Element/Object.php -------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------- 27 | ERROR | 'object' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_CLASS) --------------------------------------------------------------------------------------------------------------------------------------------------------------
I get that makes it harder but it's still your plugin that causes the issue preventing the upgrade to PHP 7. So I think you do share the responsibility for getting your plugin compatible with the latest version of PHP. I think it makes more sense you reaching out to them then expecting your customers deal with it.
Report builder is fully compatible with PHP 7.0 +. We are using it on our sandbox website with PHP version 7.1. Where did you see these errors? In the server log or with some plugin that analyzes the errors?
So I think the issue will happen if you attempt to download a report as a word doc.
These are reported by the wpengine compatibility checker. Which does sometimes report false positives but I think the issues below would stop the plugin working.
Are you going to update the plugin to be php7 compatible? I know these are all from the PHPWord library but maybe you can get the authors to address?
FILE: /wp-content/plugins/reportbuilder/lib/PHPWord/Element/Object.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------
26 | ERROR | 'object' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_CLASS)
--------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE: /wp-content/plugins/reportbuilder/lib/PHPWord/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: /wp-content/plugins/reportbuilder/lib/PHPWord/Writer/Word2007/Element/Object.php
--------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------------------------------
27 | ERROR | 'object' is a reserved keyword as of PHP version 7.0 and cannot be used to name a class, interface or trait or as part of a namespace (T_CLASS)
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi Matt2012,
Thank you for your purchase.
We are just using that library, so update it's not depend of us. You can check library on this link
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
I get that makes it harder but it's still your plugin that causes the issue preventing the upgrade to PHP 7. So I think you do share the responsibility for getting your plugin compatible with the latest version of PHP. I think it makes more sense you reaching out to them then expecting your customers deal with it.
Hi Matt2012,
Report builder is fully compatible with PHP 7.0 +. We are using it on our sandbox website with PHP version 7.1. Where did you see these errors? In the server log or with some plugin that analyzes the errors?
So I think the issue will happen if you attempt to download a report as a word doc.
These are reported by the wpengine compatibility checker. Which does sometimes report false positives but I think the issues below would stop the plugin working.
Hi Matt2012,
Are these errors stop plugin to work normally or not? I think these errors are just notices and can't cause plugin to stop to work.