Magento 2 var/generation cannot be deleted warning

You may also like...

2 Responses

  1. Chieu says:

    I ‘ve tried to run the magento command: php bin/magento, got the following errors:
    “We’re sorry, an error occurred. Try clearing the cache and code generation directories. By default, they are: var/cache, var/di, var/generation, and var/page_cache.

    Deprecated Functionality: The each() function is deprecated. This message will be suppressed on further calls in /var/www/ html/vendor/magento/zendframework1/library/Zend/Cache/Backend.php on line 79”

    Even I’ve already flushed the caches, but does not solve the issue. I cannot run any magento command. Any help would be appreciated. Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *