In Magento 2.3.5 p2 version getting error for scripts or loading images in frontend side.

In Magento 2.3.5  p2 version  getting error for scripts or loading images in frontend side.

Solution: Goto default Magento folder app/etc/di.xml file find the virtualType name="developerMaterialization" section. In that section,you'll find an item name="view_preprocessed". You can modify it by changing the contents from Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink to Magento\Framework\App\View\Asset\MaterializationStrategy\Copy .

Run command: php bin/magento setup:static-content:deploy

It's work for me



Copyright © 2024 Tridhya Tech Limited, Inc. All rights reserved.