Skip to content
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

Installing simple products: PHP Fatal error: Call to undefined method #1656

Closed
mariarti opened this issue Aug 12, 2015 · 2 comments
Closed

Comments

@mariarti
Copy link

Clear new install from CLI

stops on

Installing simple products:
PHP Fatal error: Call to undefined method Magento\Catalog\Model\Resource\Product\Interceptor::getWriteConnection() in /var/www/html/test.com/app/code/Magento/SampleData/Module/Catalog/Setup/Product/Gallery.php on line 144

centos 6.7 x64

# php -v
PHP 5.6.12 (cli) (built: Aug 6 2015 17:14:56)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

# mysql -V
mysql Ver 14.14 Distrib 5.6.26, for Linux (x86_64) using EditLine wrapper

@mazhalai
Copy link
Contributor

@mariarti thank you for reporting, however this is a known issue and is a duplicate of #1610 , so please try installing with sample data from the master branch not develop branch

@mazhalai mazhalai added the MX label Aug 12, 2015
@mariarti
Copy link
Author

Thanks for advice
really, it helps:
git clone https://github.com/magento/magento2.git -b master /var/www/html/test.com/

okorshenko pushed a commit that referenced this issue Nov 3, 2017
Public Pull Requests

#11817 GITHUB-8970: Cannot assign products to categories not under tree root. by @p-bystritsky

Fixed Public Issues

#8970 Cannot assign products to categories not under tree root
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