Skip to content

error

Auto Added by WPeMatico

Mega Menu not working

in my ecommerce Mega Menu seems not working. The error message is: “an error has occurred while generating this content.” See below. Can I fix it from back-end? Magento version is 2.4.5. Thanks everybody

Fatal error: Uncaught Exception: User Error:

Fatal error: Uncaught Exception: User Error: Some transactions have not been committed or rolled back in /Users/apple/Sites/magento24/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 4067 in /Users/apple/Sites/magento24/vendor/magento/framework/App/ErrorHandler.php:62 Stack trace: #0 [internal function]: MagentoFrameworkAppErrorHandler->handler(256, ‘Some transactio…’, ‘/Users/apple/Si…’, 4067, Array) #1 /Users/apple/Sites/magento24/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(4067): trigger_error(‘Some transactio…’, 256) #2 [internal… Read More »Fatal error: Uncaught Exception: User Error:

Error after upgrading Magento 2.4.3 to 2.4.5 match

syntax error, unexpected token “match”, expecting variable#0 /httpdocs/tienda/vendor/composer/ClassLoader.php(432): ComposerAutoloadClassLoader::ComposerAutoload{closure}() #1 [internal function]: ComposerAutoloadClassLoader->loadClass() #2 /httpdocs/tienda/vendor/magento/framework/ObjectManager/Relations/Runtime.php(38): class_exists() #3 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(157): MagentoFrameworkObjectManagerRelationsRuntime->has() #4 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(180): MagentoFrameworkInterceptionConfigConfig->_inheritInterception() #5 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(213): MagentoFrameworkInterceptionConfigConfig->hasPlugins() #6 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(190): MagentoFrameworkInterceptionConfigConfig->generateIntercepted() #7 /httpdocs/tienda/vendor/magento/framework/Interception/Config/Config.php(122): MagentoFrameworkInterceptionConfigConfig->initializeUncompiled() #8 /httpdocs/tienda/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): MagentoFrameworkInterceptionConfigConfig->__construct() #9 /httpdocs/tienda/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() #10 /httpdocs/tienda/vendor/magento/framework/ObjectManager/ObjectManager.php(70): MagentoFrameworkObjectManagerFactoryDynamicDeveloper->create()… Read More »Error after upgrading Magento 2.4.3 to 2.4.5 match

getting Js error in google analytics code

We are using google analytics in our website but getting below error in console. Error: Uncaught SyntaxError: Unexpected token ‘:’ Script: <script type=”text/x-magento-init”> { “*”: { “Magento_GoogleAnalytics/js/google-analytics”: { “isCookieRestrictionModeEnabled”: <?= (int)$block->isCookieRestrictionModeEnabled() ?>, “currentWebsite”: <?= (int)$block->getCurrentWebsiteId() ?>, “cookieName”: “<?= /* @escapeNotVerified… Read More »getting Js error in google analytics code

how to fix issues in Escaper.php?

I upgraded Magento2.3.4 to 2.4.3-p3. But I got issues in checkout page and cart page. 1 exception(s): Exception #0 (Exception): Notice: Array to string conversion in /home/caterin1/test.cateringspares.com.au/vendor/magento/framework/Escaper.php on line 261 Exception #0 (Exception): Notice: Array to string conversion in /home/caterin1/test.cateringspares.com.au/vendor/magento/framework/Escaper.php… Read More »how to fix issues in Escaper.php?

How to fix error: WE CAN’T FIND PRODUCTS MATCHING THE SELECTION

I upgraded from Magento 2.3.4 to 2.4.3-p3. But I cannot see products and categories. here is composer.json { “name”: “magento/project-community-edition”, “description”: “eCommerce Platform for Growth (Community Edition)”, “type”: “project”, “license”: [ “OSL-3.0”, “AFL-3.0” ], “config”: { “preferred-install”: “dist”, “sort-packages”: true,… Read More »How to fix error: WE CAN’T FIND PRODUCTS MATCHING THE SELECTION