After manually removing some files into pub/static/frontend
, cleaning and flushing the cache I got a blank page without errors when trying to load my Magento e-commerce or the backoffice.
I solved the ecommerce problem with
- bin/magento setup:di:compile
- php bin/magento deploy:mode:set developer
- bin/magento setup:static-content:deploy -f
- bin/magento cache:clean
- bin/magento cache:flush
But now for what concerns the backoffice, every time I try to load the admin uri it says:
Exception #0 (ReflectionException): Impossible to process constructor argument Parameter #1 [ <required> MagentoFrameworkStdlibCookiePublicCookieMetadataFactory $cookieMetadataFactory ] of MagentoSecurityModelSecurityCookie class
Exception #1 (ReflectionException): Class MagentoFrameworkStdlibCookiePublicCookieMetadataFactory does not exist
I tried to understand what it is but I can’t figure it out…
Magento version: 2.4.4
Server distro: Ubuntu 20.04
PHP: 7.4