Skip to content

Magento2 error after git pull #1618

Closed
Closed
@vinhtrau

Description

@vinhtrau

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions