This topic contains 2 replies, has 2 voices, and was last updated by mmiasnikov 5 years, 4 months ago.
- Topic
Hello, during the installation I have the error pasted bellow:
123456789101112131415Running full reindexation...[Brick\Math\Exception\NumberFormatException]The given value does not represent a valid number.oro:migration:data:load [--fixtures-type [FIXTURES-TYPE]] [--dry-run] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-s|--shell] [--process-isolation] [-e|--env ENV] [--no-debug] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>[RuntimeException]The command '/usr/local/Cellar/php71/7.1.6_18/bin/php' 'app/console' 'oro:migration:data:load' '--fixtures-type=demo' '--no-debug' terminated with anexit code: 1.The error is caused by this code:
1234567891011121314151617181920$this->extendExtension->addManyToOneRelation($schema,'inventory_supplies', // owning side table'product', // owning side field name'oro_product', // inverse side table'sku', // column names are used to show a title of related entity['extend' => ['owner' => ExtendScope::OWNER_CUSTOM]]);$this->extendExtension->addManyToOneInverseRelation($schema,'inventory_supplies', // owning side table'product', // owning side field name'oro_product', // inverse side table'supplies', // inverse side field name['quantity'], // column names are used to show a title of owning side entity['quantity'], // column names are used to show detailed info about owning side entity['quantity'], // Column names are used to show owning side entity in a grid['extend' => ['owner' => ExtendScope::OWNER_CUSTOM]]);When I remove it, installation works well.
It shows on different env like linux(nginx) or OS X(apache).
123456789101112131415161718"require": {"oro/commerce": "1.1.x-dev","oro/platform": "2.1.x-dev","oro/platform-serialised-fields": "2.1.x-dev","oro/calendar-bundle": "2.1.x-dev","oro/marketing": "2.1.x-dev","oro/customer-portal": "2.1.x-dev","oro/crm": "2.1.x-dev","oro/crm-task-bundle": "2.1.x-dev","oro/crm-call-bundle": "2.1.x-dev","oro/commerce-crm": "1.1.x-dev","oro/crm-hangouts-call-bundle": "2.1.x-dev","oro/crm-abandoned-cart": "2.1.x-dev","oro/crm-magento-embedded-contact-us": "2.1.x-dev","oro/crm-mail-chimp": "2.1.x-dev","oro/crm-dotmailer": "2.1.x-dev","oro/crm-zendesk": "2.1.x-dev"},
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.