Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi Guys,
Just wondering what the range of compatible PHP versions are fully tested and working with Vantage pro. Is it working fully with PHP 7?
Thanks,
HG/mws
Hi HunterGatherer,
Huge apologies for the late reply here. Unfortunately a batch of threads slipped through the cracks and this was one of them.
We haven’t started testing for PHP 7 yet, but for the most part PHP is fairly backwards compatible so it should compatible with PHP 7 – especially if WordPress itself is.
Thanks
Hi,
I ran php compatibility checker and it gave me this message:
Name: Vantage
FILE: /wp-content/themes/vantage/inc/settings/inc/sanitize.php
———————————————————————————————————————————
FOUND 1 ERROR AFFECTING 1 LINE
———————————————————————————————————————————
82 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword ‘float’ (since version 7.0)
———————————————————————————————————————————
I linked it here if it might help you to find out the answer for the compability.
Is it safe to do the update?
Thanks for letting us know, I’ll log this for the team to inspect. Yes, based on all of our testing, it is safe to update.
Hi Terhi
We’ve done a bit of testing with PHP 7 on our side and everything is working properly. That error from the PHP 7 compatibility checker doesn’t seem to be causing any problems with Vantage, but we’ll change it anyway.
https://github.com/siteorigin/settings/commit/b8aa3406ddc8f5f484dd0eed72dee9ffa64e5e04
This change will be in the next update of Vantage. It’s used as part of a settings framework we developed, but Vantage itself doesn’t use that part of the code, which is why there are no PHP 7 issues.