Support for PHP 5.6 and PHP 7

Dedicated support forum for CloudHost elegant bosting WordPress theme which is perfect for your business and hosting websites. Here you can ask questions and discuss with other theme users.
GK User
Sat Sep 03, 2016 8:49 am
When I run the plugin "WP Engine PHP Compatibility Checker" it shows that CloudHost theme has a few warnings and errors with PHP 5.6 and PHP 7. Since PHP 7 can bring about a significant increase in the website performance, we are looking to upgrade our server to PHP 7 but found that your theme is incompatible.

It would be really great if you could make it fully compatible with PHP 7 and 5.6. Any news on when can we expect updates for compatibility.
User avatar
Fresh Boarder

Joshua M
Mon Sep 05, 2016 8:16 am
Hello,

I've installed CloudHost theme on PHP7 server and can't see any issues, but we'll check it exactly and if we will find any issue, it will be fixed with the next themes update.
User avatar
Moderator

GK User
Tue Sep 06, 2016 9:56 am
When I run the plugin "WP Engine PHP Compatibility Checker" it shows the following errors with CloudHost theme and says it is incompatible. Please fix them and release an update asap.

FILE: /home/zynoin/public_html/wp-content/themes/CloudHost/gavern/widgets.nsp.php
--------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------
22 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
--------------------------------------------------------------------------------


FILE: /home/zynoin/public_html/wp-content/themes/CloudHost/gavern/helpers/helpers.features.php
---------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
1083 | ERROR | Parameter shadowing super global ($_post) causes fatal error since PHP 5.4
---------------------------------------------------------------------------------------------


FILE: /home/zynoin/public_html/wp-content/themes/CloudHost/gavern/classes/class.recaptchalib.php
-----------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------
55 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
-----------------------------------------------------------------------------------------------


FILE: /home/zynoin/public_html/wp-content/themes/CloudHost/template.contact.php
---------------------------------------------------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------
70 | ERROR | Extension 'ereg' is deprecated since PHP 5.3 and removed since PHP 7.0 - use pcre instead.
70 | ERROR | The use of function eregi is discouraged from PHP version 5.3 and forbidden from PHP version 7.0; use preg_match instead
---------------------------------------------------------------------------------------------------------------------------------------
User avatar
Fresh Boarder

GK User
Thu Sep 08, 2016 1:26 pm
When can I expect this to be fixed? Please reply soon.
User avatar
Fresh Boarder


cron