Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sydekumf opened this issue Sep 2, 2015 · 2 comments
Closed

Comments

@sydekumf
Copy link

sydekumf commented Sep 2, 2015

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.

@mazhalai
Copy link
Contributor

mazhalai commented Sep 2, 2015

@sydekumf this is a known issue if you are using the develop branch. If you need to use sample data, please get the codebase from the master branch.

@mazhalai
Copy link
Contributor

mazhalai commented Sep 2, 2015

Closing as duplicate of #1636 , #1610 , and #1757.

@mazhalai mazhalai closed this as completed Sep 2, 2015
magento-team pushed a commit that referenced this issue Nov 30, 2017
Public Pull Requests

#11807 [backport 2.1] Attribute category_ids issue #11389 by @manuelson

Fixed Public Issues

#11341 Attribute category_ids issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants