Project

General

Profile

Deprecated Methods with PHP 7

Added by Yiannis Girod over 1 year ago

Hi,

I've these messages:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; extMainFrame has a deprecated constructor in /.../extplorer/libraries/standalone.php on line 53

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ext_Json has a deprecated constructor in /.../extplorer/libraries/JSON.php on line 117

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /.../extplorer/libraries/JSON.php on line 840

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /.../extplorer/libraries/JSON.php on line 854

and it' doesn't run immediately after login; I must refresh teh page.

Any idea ?

Thanks.


Replies (3)

same problem with PHP 7 - Added by Frank P 7 months ago

Hi,

Message:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ext_Json has a deprecated constructor in /.../extplorer/libraries/JSON.php on line 117

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /.../extplorer/libraries/JSON.php on line 840

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /.../extplorer/libraries/JSON.php on line 854

need refresh after login

and i need help

THX

RE: Deprecated Methods with PHP 7 - Added by Dadeke D 5 months ago

Hi.

I have fixed the errors reported in the code "libraries/JSON.php"

It is only replace by https://github.com/dadeke/extplorer/commit/f372deff4677371226c1ff3425cf66f046ec63c8#diff-30b49674c5132e4c6663f13549f6a669

Happy.

    (1-3/3)