Parse error on PHP 5.2 (visible only with debug mode enabled)
-
Hi,
I have read the F.A.Q and know that plugin requires at PHP in version: 5.3.x, but wonder if in the coming release you could add protection from parse error and for example show message:
This plugin requires PHP version of at least 5.3.x, but we recommend version 5.6.x. Please contact your hosting company and ask them to update the PHP version for your site.
Now this parse error is only visible when user has got active debug mode, but by default WP has got debug mode disabled. It’s making harder to investigate the reason of problem with plugin activation.
Another question is if you could suggest quick-fix for this kind of parse error:
Parse error: syntax error, unexpected T_STATIC in wp-content/plugins/one-click-demo-import/one-click-demo-import.php on line 53
Thanks!
- The topic ‘Parse error on PHP 5.2 (visible only with debug mode enabled)’ is closed to new replies.