Closed
Description
When I update new code from developer, my site always occurs error:
Autoload error: Strict Notice: Declaration of Magento\Framework\App\Resource\Proxy::getConnection() should be compatible with Magento\Framework\App\Resource::getConnection($resourceName = self::DEFAULT_CONNECTION) in /private/var/www/magento2/htdocs/var/generation/Magento/Framework/App/Resource/Proxy.php
This error also display when I tried to clear cache by command line: php bin/magento cache:clean --all