Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

__autoload deprecated issue #132

Open
Nuranto opened this issue Feb 26, 2018 · 2 comments
Open

__autoload deprecated issue #132

Nuranto opened this issue Feb 26, 2018 · 2 comments

Comments

@Nuranto
Copy link

Nuranto commented Feb 26, 2018

Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in app/code/core/Mage/Core/functions.php on line 60
Deprecated functionality: The each() function is deprecated. This message will be suppressed on further calls  in  lib/Zend/Cache/Backend.php on line 79

on PHP 7.2

@gstolarz-euvic
Copy link

gstolarz-euvic commented Mar 21, 2018

@Nuranto
If You need to remove it You can edit it by composer.
Manually add post-install/update-cmd and patch it.

Of course, it has one major issue - on each upgrade Magento You must recreate patch again.

"scripts": { "post-install-cmd": "patch -p0 < patch/php7.2-change-core-functions.patch", "post-update-cmd": "patch -p0 < patch/php7.2-change-core-functions.patch" }

@tmleeek
Copy link

tmleeek commented Apr 1, 2018

can you please make it more easier to resolve , what the file should i overwrite

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants