Skip to content

Sample data 1.0.0beta raises error "undefined method getWriteConnection()" #1775

Closed
@sydekumf

Description

@sydekumf

I installed the sample data after the installation of Magento via console and I get the following error:
Fatal error: Call to undefined method Magento\Catalog\Model\Resource\Product\Interceptor::getWriteConnection() in /private/var/www/magento/magento2/app/code/Magento/SampleData/Module/Catalog/Setup/Product/Gallery.php on line 144

If you search for getWriteConnection() in the whole Magento source you won't even find this method :-) So how is it supposed to work? Thanks a lot.

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