Skip to content

Removing the page-cache-warmer modules #3

Description

@Alex7Lem

After installing and removing the page-cache-warmer modules, errors occur when opening pages in the admin panel:
Catalog / Products / Action / Edit
Catalog / Categories

1 exception(s):
Exception #0 (ReflectionException): Class MageSuite\PageCacheWarmer\Model\Config\Source\Attribute\WarmupPriority does not exist

Exception #0 (ReflectionException): Class MageSuite\PageCacheWarmer\Model\Config\Source\Attribute\WarmupPriority does not exist

#1 Magento\Framework\Code\Reader\ClassReader->getConstructor() called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:54]
#2 Magento\Framework\ObjectManager\Definition\Runtime->getParameters() called at [vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:48]
#3 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56]
#4 Magento\Framework\ObjectManager\ObjectManager->create() called at [vendor/magento/framework/Validator/UniversalFactory.php:36]
#5 Magento\Framework\Validator\UniversalFactory->create() called at [vendor/magento/module-eav/Model/Entity/Attribute/AbstractAttribute.php:642]
#6 Magento\Eav\Model\Entity\Attribute\AbstractAttribute->getSource() called at [generated/code/Magento/Catalog/Model/ResourceModel/Eav/Attribute/Interceptor.php:1181]
#7 Magento\Catalog\Model\ResourceModel\Eav\Attribute\Interceptor->getSource() called at [vendor/magento/module-catalog/Model/Category/DataProvider.php:384]
#8 Magento\Catalog\Model\Category\DataProvider->getAttributesMeta() called at [vendor/magento/framework/Interception/Interceptor.php:58]
#9 Magento\Catalog\Model\Category\DataProvider\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138]
#10 Magento\Catalog\Model\Category\DataProvider\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153]

Install:
composer require creativestyle/magesuite-page-cache-warmer
bin/magento setup:upgrade
bin/magento setup:di:compile

Remove:
composer remove creativestyle/magesuite-page-cache-warmer creativestyle/magesuite-page-cache-warmer-crawler creativestyle/magesuite-page-cache-warmer-crawl-worker doctrine/event-manager doctrine/dbal

PS
If you remove the “warmup_priority” attribute, then the error in the “Catalog / Products / Action / Edit” admin panel disappears, but the error remains in the “Catalog / Categories” admin panel.

Magento ver. 2.3.5-p1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions