Skip to content

magento man

__autoload() is deprecated, use spl_autoload_register() instead in app/code/core/Mage/Core/functions.php on line 61

In Magento 1.9.3.x..we have upgrade php version from 5.6 to 7.3.after that we are facing issue like Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in app/code/core/Mage/Core/functions.php on line 61 . function look like below function __autoload($class) { if (defined(‘COMPILER_INCLUDE_PATH’)) {… Read More »__autoload() is deprecated, use spl_autoload_register() instead in app/code/core/Mage/Core/functions.php on line 61

Magento 2.4.7 – Wishlist page Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID “3562886” already exists

My Wishlist page return following errot, how to resolve the issue. 1 exception(s): Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID “3562886” already exists. Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID “3562886” already exists. <pre>#1 MagentoFrameworkDataCollectionAbstractDb->loadWithFilter() called… Read More »Magento 2.4.7 – Wishlist page Exception #0 (Exception): Item (MagentoWishlistModelItemInterceptor) with the same ID “3562886” already exists

Magento 2.4.7 – Undefined array key “policy_id” in /var/www/html/Aveeva/vendor/magento/module-csp/Model/Collector/ConfigCollector.php on line 111

My Code: app/code/Aveeva/Csp/etc/csp_whitelist.xml app/code/Aveeva/Csp/etc/config.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Store:etc/config.xsd”> <default> <csp> <mode> <storefront> <report_only>0</report_only> </storefront> <admin> <report_only>0</report_only> </admin> </mode> <policies> <!– CORRECT: Apply to ALL storefront pages –> <storefront> <script_src> <inline>1</inline> <eval>1</eval> </script_src> </storefront> </policies> </csp> </default> </config> I am… Read More »Magento 2.4.7 – Undefined array key “policy_id” in /var/www/html/Aveeva/vendor/magento/module-csp/Model/Collector/ConfigCollector.php on line 111