PHP compatibility & performance issue!
-
Hi, I was just testing PHP compatibility with PHP Compatibility Checker plugin and found that your plugin has some issues as below >
FILE: /public_html/wp-content/plugins/disable-dashboard-for-woocommerce/includes/freemius/includes/sdk/FreemiusWordPress.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 330 | WARNING | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$pUrl" was used, and possibly changed (by reference), on line 310. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ FILE: /public_html/wp-content/plugins/disable-dashboard-for-woocommerce/includes/freemius/includes/class-freemius.php ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 19534 | WARNING | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$tag" was used, and possibly changed (by reference), on line 19532. 19691 | WARNING | Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$tag" was used, and possibly changed (by reference), on line 19689. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /public_html/wp-content/plugins/disable-dashboard-for-woocommerce/includes/freemius/includes/class-fs-logger.php -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 43 | WARNING | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$id" was used, and possibly changed (by reference), on line 41. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Also, in wp hive it shows this plugin is taking too much memory usage i.e. > Average memory usage is 502.52 KB.
I hope you will solve these issues in future updates.
Thank you for this wonderful plugin.
And are you planning to support this plugin for 8.1 PHP version?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘PHP compatibility & performance issue!’ is closed to new replies.