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

Error on "Load sample data" #15

Open
Scarbous opened this issue Nov 17, 2020 · 0 comments
Open

Error on "Load sample data" #15

Scarbous opened this issue Nov 17, 2020 · 0 comments

Comments

@Scarbous
Copy link

Hi,

when I run bin/console oro:install -vvv --env prod every thing works fine untill I want to load sample data.

Load sample data (y/n): y
Loading "demo" data fixtures ...
  > loading Oro\Bundle\TranslationBundle\Migrations\Data\Demo\ORM\LoadLanguageDemoData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadCustomerData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadShippingRule
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxJurisdictionData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxRateData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPaymentRule
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPaymentTermData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxCodeData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\LoadPdfConfiguration
  > loading Oro\Bundle\ApiBundle\Migrations\Data\Demo\ORM\EnableApiFeature
  > loading Oro\Bundle\LocaleBundle\Migrations\Data\Demo\ORM\LoadLocalizationDemoData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadSalesData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadPaymentRuleConfig
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadTaxRuleData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadSalesChannelGroupData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadShippingRuleConfig
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductPriceData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductInventoryData
  > loading Marello\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM\LoadProductImageData

In FileManager.php line 110:

  Argument 2 passed to Oro\Bundle\AttachmentBundle\Manager\FileManager::setFi
  leFromPath() must be of the type string, null given, called in /app/public/
  vendor/oro/platform/src/Oro/Bundle/AttachmentBundle/Manager/FileManager.php
   on line 67

My quick fix: https://www.diffchecker.com/dacbIxZ3

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

1 participant