Tom1s Posted April 15, 2020 Share Posted April 15, 2020 Quote Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/domains/public_html/src/Adapter/EntityMapper.php on line 99 Quote (1/1) ContextErrorException Notice: Trying to access array offset on value of type null in scss.inc.php line 1754 at scssc->sortArgs()in scss.inc.php line 1714 at scssc->callBuiltin()in scss.inc.php line 1026 at scssc->reduce()in scss.inc.php line 680 at scssc->compileChild()in scss.inc.php line 512 at scssc->compileChildren()in scss.inc.php line 420 at scssc->compileBlock()in scss.inc.php line 656 at scssc->compileChild()in scss.inc.php line 512 at scssc->compileChildren()in scss.inc.php line 420 at scssc->compileBlock()in scss.inc.php line 656 at scssc->compileChild()in scss.inc.php line 512 at scssc->compileChildren()in scss.inc.php line 420 at scssc->compileBlock()in scss.inc.php line 656 at scssc->compileChild()in scss.inc.php line 512 at scssc->compileChildren()in scss.inc.php line 420 at scssc->compileBlock()in scss.inc.php line 656 at scssc->compileChild()in scss.inc.php line 512 at scssc->compileChildren()in scss.inc.php line 1663 at scssc->importFile()in scss.inc.php line 609 at scssc->compileImport()in scss.inc.php line 640 at scssc->compileChild()in scss.inc.php line 512 at scssc->compileChildren()in scss.inc.php line 328 at scssc->compileRoot()in scss.inc.php line 128 at scssc->compile()in spthemeconfigurator.php line 258 at spthemeconfigurator->hookHeader()in Hook.php line 970 at HookCore::coreCallHook()in Hook.php line 359 at HookCore::callHookOn()in Hook.php line 907 at HookCore::exec()in FrontController.php line 556 at FrontControllerCore->initContent()in IndexController.php line 37 at IndexControllerCore->initContent()in Controller.php line 292 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28 Quote Unknown error on the line 99 , file /home/domains/public_html/src/Adapter/EntityMapper.php [8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead Unknown error on the line 320 , file /home/domains/public_html/classes/module/Module.php [8192] array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead After the release of the new update Prestashop 1.7.6.4 I have problems I can’t solve and I don’t know how. I want help from you who understands and can help. Link to comment Share on other sites More sharing options...
idnovate.com Posted April 16, 2020 Share Posted April 16, 2020 Downgrade your PHP to 7.2. 3 Link to comment Share on other sites More sharing options...
Tom1s Posted April 16, 2020 Author Share Posted April 16, 2020 3 hours ago, idnovate.com said: Downgrade your PHP to 7.2. PHP version:7.4.4 Already and is before installing the update. Link to comment Share on other sites More sharing options...
idnovate.com Posted April 16, 2020 Share Posted April 16, 2020 Downgrade your PHP to 7.2. PrestaShop is not compatible with PHP 7.4: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-compatibility-chart 2 Link to comment Share on other sites More sharing options...
Tom1s Posted April 16, 2020 Author Share Posted April 16, 2020 1 hour ago, idnovate.com said: Downgrade your PHP to 7.2. PrestaShop is not compatible with PHP 7.4: https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-compatibility-chart Maybe a known date when another update supporting 7.4 will appear? 1 Link to comment Share on other sites More sharing options...
NPO Posted April 16, 2020 Share Posted April 16, 2020 This is the latest I can find: Link to comment Share on other sites More sharing options...
idnovate.com Posted April 16, 2020 Share Posted April 16, 2020 2 hours ago, Tom1s said: Maybe a known date when another update supporting 7.4 will appear? No. PS 1.7.7 will be compatible with 7.3 only. 2 Link to comment Share on other sites More sharing options...
Tom1s Posted April 16, 2020 Author Share Posted April 16, 2020 Thanks to all. Fixed it, notified the hosting administration and changed the php version. Now all is well. 1 Link to comment Share on other sites More sharing options...
MicroSim Posted November 17, 2020 Share Posted November 17, 2020 Thank You very much. I hade same issue. I could not save any text to Delivery, About us an ect..., on Presta Shop 1.7.6.8 and after changing PHP to 7.2 all works again. 1 Link to comment Share on other sites More sharing options...
prestamonste Posted February 2, 2021 Share Posted February 2, 2021 In this case, please open file: public_html/src/Adapter/EntityMapper.php go to line code 99 Change from if (array_key_exists($key, $entity_defs['fields']) || array_key_exists($key, $entity)) { To if (isset($entity_defs['fields'][$key]) || isset($entity->{$key})) { Save file and double test. Link to comment Share on other sites More sharing options...
idnovate.com Posted February 2, 2021 Share Posted February 2, 2021 10 hours ago, prestamonste said: In this case, please open file: public_html/src/Adapter/EntityMapper.php go to line code 99 Change from if (array_key_exists($key, $entity_defs['fields']) || array_key_exists($key, $entity)) { To if (isset($entity_defs['fields'][$key]) || isset($entity->{$key})) { Save file and double test. There are 1064 matches with array_key_exists in PS 1.7.7.0. I think it's easier to downgrade PHP version than replacing all the coincidences 😋 2 Link to comment Share on other sites More sharing options...
leonardomarinio Posted October 12, 2021 Share Posted October 12, 2021 Hello good afternoon, I have the same error with PS 1.7.7.6 I lowered it to php7.2 because it had 7.4 but it still gives the same error and I cannot enter the order form, I need it to be able to print the shipping label On 2/2/2021 at 12:14 PM, idnovate.com said: There are 1064 matches with array_key_exists in PS 1.7.7.0. I think it's easier to downgrade PHP version than replacing all the coincidences 😋 Link to comment Share on other sites More sharing options...
REVANEK Posted December 11, 2022 Share Posted December 11, 2022 Hello, for me this error popped up when I tried to install custom made module. Simply renaming cache to cache.old solved the issue Best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now