-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Data fixture load error #21
Comments
@johnnyMick Can you check as Sylius/SyliusCoreBundle#15 was merged? |
@stloyd i'm not related to the development team or anything, i just cloned the project to check it out, and got this problem, so i posted this |
pjedrzejewski
pushed a commit
that referenced
this issue
Aug 27, 2013
Made Coordinator::buildProcess protected
pjedrzejewski
pushed a commit
that referenced
this issue
Aug 29, 2013
Made Coordinator::buildProcess protected
CoderMaggie
pushed a commit
to CoderMaggie/Sylius
that referenced
this issue
Jun 1, 2016
Update README
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when loading the data fixture i got this error :
PHP Parse error: syntax error, unexpected '[' in /var/www/sylius/vendor/sylius/core-bundle/Sylius/Bundle/CoreBundle/DataFixtures/ORM/LoadProductsData.php on line 276.
i solved it by using :
$productName = explode(' ', $product->getName());
$image = clone $this->getReference(
'Sylius.Image.'.strtolower($productName[0])
);
The text was updated successfully, but these errors were encountered: