Testing PHP 7.0.10

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
Tata
Posts: 2851
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Testing PHP 7.0.10

Post by Tata » Thu Jun 22, 2017 8:53 am

I have tested CMSimple_XH v1.6.9, 10 and 1.7.0 with PHP 7.0.10. The result is that only the 1.6.10 and 1.7.0 run smoothly. But also some of 1.6.9. However, generally I get:
( ! )Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XH_CSRFProtection has a deprecated constructor in D:\localweb\169new\cmsimple\classes\CSRFProtection.php on line 28
( ! )Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PasswordHash has a deprecated constructor in D:\localweb\169new\cmsimple\classes\PasswordHash.php on line 27
( ! ) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XH_PageDataRouter has a deprecated constructor in D:\localweb\169new\cmsimple\classes\PageDataRouter.php on line 29
( ! )Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XH_PageDataModel has a deprecated constructor in D:\localweb\169new\cmsimple\classes\PageDataModel.php on line 31
( ! )Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XH_PageDataView has a deprecated constructor in D:\localweb\169new\cmsimple\classes\PageDataView.php on line 28
( ! )Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XH_PluginMenu has a deprecated constructor in D:\localweb\169new\cmsimple\classes\PluginMenu.php on line 30
( ! )Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; XH_ClassicPluginMenu has a deprecated constructor in D:\localweb\169new\cmsimple\classes\PluginMenu.php on line 256
CAN'T CHANGE HEADER INFORMATION * heads have been sent (Output started at D:\localweb\169new\cmsimple\classes\PageDataRouter.php:29)
Is that OK?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 12877
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Testing PHP 7.0.10

Post by cmb » Thu Jun 22, 2017 10:40 am

These deprecated notices are expected with XH 1.6.9, but should not occur with XH 1.6.10 and XH 1.7.
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

Post Reply