Demo data issue

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
IsRenim
Posts: 8
Joined: 24 Jun 2018, 07:48

Demo data issue

Post by IsRenim » 16 Sep 2018, 09:33

Env: Ubuntu 18.04.1 LTS
PHP: 7.2
DB: PostgreSQL 10.5
Aimeos: 2018.07
Laravel: 5.7

Hi Aimeos,

Following installation steps everything was OK till command:

Code: Select all

php artisan aimeos:setup --option=setup/default/demo:1 -v
Which produces the following output:

Code: Select all

Initializing or updating the Aimeos database tables for site "default"
Adding id to order service attribute table                            
  Checking column "id":                                               OK
Adding parentid column to catalog and locale_site                     
  Checking parentid column in "mshop_catalog"                         OK
  Checking parentid column in "mshop_locale_site"                     OK
Renaming product warehouse table                                      OK
Changing warehouseid column in mshop_product_stock                    OK
Adding ctime/mtime/user columns to tables                             
  Checking table "mshop_attribute" for column "mtime":                OK
  Checking table "mshop_attribute" for column "ctime":                OK
  Checking table "mshop_attribute" for column "editor":               OK
  Checking table "mshop_attribute_list" for column "mtime":           OK
  Checking table "mshop_attribute_list" for column "ctime":           OK
  Checking table "mshop_attribute_list" for column "editor":          OK
  Checking table "mshop_attribute_list_type" for column "mtime":      OK
  Checking table "mshop_attribute_list_type" for column "ctime":      OK
  Checking table "mshop_attribute_list_type" for column "editor":     OK
  Checking table "mshop_attribute_type" for column "mtime":           OK
  Checking table "mshop_attribute_type" for column "ctime":           OK
  Checking table "mshop_attribute_type" for column "editor":          OK
  Checking table "mshop_catalog" for column "mtime":                  OK
  Checking table "mshop_catalog" for column "ctime":                  OK
  Checking table "mshop_catalog" for column "editor":                 OK
  Checking table "mshop_catalog_list" for column "mtime":             OK
  Checking table "mshop_catalog_list" for column "ctime":             OK
  Checking table "mshop_catalog_list" for column "editor":            OK
  Checking table "mshop_catalog_list_type" for column "mtime":        OK
  Checking table "mshop_catalog_list_type" for column "ctime":        OK
  Checking table "mshop_catalog_list_type" for column "editor":       OK
  Checking table "mshop_customer" for column "editor":                OK
  Checking table "mshop_customer_address" for column "mtime":         OK
  Checking table "mshop_customer_address" for column "ctime":         OK
  Checking table "mshop_customer_address" for column "editor":        OK
  Checking table "mshop_customer_list" for column "mtime":            OK
  Checking table "mshop_customer_list" for column "ctime":            OK
  Checking table "mshop_customer_list" for column "editor":           OK
  Checking table "mshop_customer_list_type" for column "mtime":       OK
  Checking table "mshop_customer_list_type" for column "ctime":       OK
  Checking table "mshop_customer_list_type" for column "editor":      OK
  Checking table "mshop_locale" for column "mtime":                   OK
  Checking table "mshop_locale" for column "ctime":                   OK
  Checking table "mshop_locale" for column "editor":                  OK
  Checking table "mshop_locale_currency" for column "mtime":          OK
  Checking table "mshop_locale_currency" for column "ctime":          OK
  Checking table "mshop_locale_currency" for column "editor":         OK
  Checking table "mshop_locale_language" for column "mtime":          OK
  Checking table "mshop_locale_language" for column "ctime":          OK
  Checking table "mshop_locale_language" for column "editor":         OK
  Checking table "mshop_locale_site" for column "mtime":              OK
  Checking table "mshop_locale_site" for column "ctime":              OK
  Checking table "mshop_locale_site" for column "editor":             OK
  Checking table "mshop_media" for column "mtime":                    OK
  Checking table "mshop_media" for column "ctime":                    OK
  Checking table "mshop_media" for column "editor":                   OK
  Checking table "mshop_media_list" for column "mtime":               OK
  Checking table "mshop_media_list" for column "ctime":               OK
  Checking table "mshop_media_list" for column "editor":              OK
  Checking table "mshop_media_list_type" for column "mtime":          OK
  Checking table "mshop_media_list_type" for column "ctime":          OK
  Checking table "mshop_media_list_type" for column "editor":         OK
  Checking table "mshop_media_type" for column "mtime":               OK
  Checking table "mshop_media_type" for column "ctime":               OK
  Checking table "mshop_media_type" for column "editor":              OK
  Checking table "mshop_order" for column "ctime":                    OK
  Checking table "mshop_order" for column "editor":                   OK
  Checking table "mshop_order_base" for column "ctime":               OK
  Checking table "mshop_order_base" for column "editor":              OK
  Checking table "mshop_order_base_address" for column "ctime":       OK
  Checking table "mshop_order_base_address" for column "editor":      OK
  Checking table "mshop_order_base_product" for column "ctime":       OK
  Checking table "mshop_order_base_product" for column "editor":      OK
  Checking table "mshop_order_base_product_attr" for column "ctime":  OK
  Checking table "mshop_order_base_product_attr" for column "editor": OK
  Checking table "mshop_order_base_service" for column "ctime":       OK
  Checking table "mshop_order_base_service" for column "editor":      OK
  Checking table "mshop_order_base_service_attr" for column "ctime":  OK
  Checking table "mshop_order_base_service_attr" for column "editor": OK
  Checking table "mshop_plugin" for column "mtime":                   OK
  Checking table "mshop_plugin" for column "ctime":                   OK
  Checking table "mshop_plugin" for column "editor":                  OK
  Checking table "mshop_plugin_type" for column "mtime":              OK
  Checking table "mshop_plugin_type" for column "ctime":              OK
  Checking table "mshop_plugin_type" for column "editor":             OK
  Checking table "mshop_price" for column "mtime":                    OK
  Checking table "mshop_price" for column "ctime":                    OK
  Checking table "mshop_price" for column "editor":                   OK
  Checking table "mshop_price_type" for column "mtime":               OK
  Checking table "mshop_price_type" for column "ctime":               OK
  Checking table "mshop_price_type" for column "editor":              OK
  Checking table "mshop_product" for column "ctime":                  OK
  Checking table "mshop_product" for column "mtime":                  OK
  Checking table "mshop_product" for column "editor":                 OK
  Checking table "mshop_product_list" for column "ctime":             OK
  Checking table "mshop_product_list" for column "mtime":             OK
  Checking table "mshop_product_list" for column "editor":            OK
  Checking table "mshop_product_list_type" for column "ctime":        OK
  Checking table "mshop_product_list_type" for column "mtime":        OK
  Checking table "mshop_product_list_type" for column "editor":       OK
  Checking table "mshop_product_type" for column "ctime":             OK
  Checking table "mshop_product_type" for column "mtime":             OK
  Checking table "mshop_product_type" for column "editor":            OK
  Checking table "mshop_service" for column "ctime":                  OK
  Checking table "mshop_service" for column "mtime":                  OK
  Checking table "mshop_service" for column "editor":                 OK
  Checking table "mshop_service_list" for column "ctime":             OK
  Checking table "mshop_service_list" for column "mtime":             OK
  Checking table "mshop_service_list" for column "editor":            OK
  Checking table "mshop_service_list_type" for column "ctime":        OK
  Checking table "mshop_service_list_type" for column "mtime":        OK
  Checking table "mshop_service_list_type" for column "editor":       OK
  Checking table "mshop_service_type" for column "ctime":             OK
  Checking table "mshop_service_type" for column "mtime":             OK
  Checking table "mshop_service_type" for column "editor":            OK
  Checking table "mshop_supplier" for column "ctime":                 OK
  Checking table "mshop_supplier" for column "mtime":                 OK
  Checking table "mshop_supplier" for column "editor":                OK
  Checking table "mshop_supplier_address" for column "ctime":         OK
  Checking table "mshop_supplier_address" for column "mtime":         OK
  Checking table "mshop_supplier_address" for column "editor":        OK
  Checking table "mshop_text" for column "ctime":                     OK
  Checking table "mshop_text" for column "mtime":                     OK
  Checking table "mshop_text" for column "editor":                    OK
  Checking table "mshop_text_list" for column "ctime":                OK
  Checking table "mshop_text_list" for column "mtime":                OK
  Checking table "mshop_text_list" for column "editor":               OK
  Checking table "mshop_text_list_type" for column "ctime":           OK
  Checking table "mshop_text_list_type" for column "mtime":           OK
  Checking table "mshop_text_list_type" for column "editor":          OK
  Checking table "mshop_text_type" for column "ctime":                OK
  Checking table "mshop_text_type" for column "mtime":                OK
  Checking table "mshop_text_type" for column "editor":               OK
Rename warehouse table                                                
  Drop "mshop_product_stock.fk_msprost_whid"                          OK
  Drop "mshop_product_stock.fk_msprost_stock_warehouseid"             OK
  Rename "mshop_product_stock.wareshouseid"                           OK
  Rename "mshop_product_stock_wareshouse"                             OK
Renaming shipping to costs                                            
  Checking table "mshop_price":                                       OK
Rename "prodid" to "parentid" in table "mshop_product_stock"          
  Checking column "prodid"                                            OK
Move stock tables to own domain                                       
  Checking "mshop_product_stock"                                      OK
  Checking "mshop_product_stock_type"                                 OK
Migrate product code in stock table                                   
  Remove index "unq_msprost_sid_pid_tid"                              OK
  Remove index "unq_msprost_sid_pid_wid"                              OK
  Migrate to column "productcode"                                     OK
  Remove foreign key "fk_msprost_parentid"                            OK
  Remove foreign key "fk_msprost_pid"                                 OK
  Remove column "parentid"                                            OK
Changing code from "product" to "default" in "mshop_product_type"     OK
Migrating product property domain to "product"                        OK
Adding siteid to order tables                                         
  Checking table "mshop_order_base":                                  OK
  Checking table "mshop_order":                                       OK
  Checking table "mshop_order_base_address":                          OK
  Checking table "mshop_order_base_discount":                         OK
  Checking table "mshop_order_base_product":                          OK
  Checking table "mshop_order_base_service":                          OK
  Checking table "mshop_order_base_product_attr":                     OK
  Checking table "mshop_order_base_service_attr":                     OK
Adding code column to mshop_catalog                                   OK
Adding service ID to order base service table                         
  Checking table "mshop_order_base_service":                          OK
Migrating order emailflag colum to order status list                  
  Deleting order index with emailflag colum                           OK
  Migrating order emailflag colum                                     OK
Fixing order email status values                                      OK
Adding label and status columns for product warehouse                 
Adding label to mshop text table                                      OK
Renaming shipping to costs                                            
  Checking table "mshop_order_base":                                  OK
  Checking table "mshop_order_base_product":                          OK
  Checking table "mshop_order_base_service":                          OK
Adding product ID to order base product table                         
  Checking table "mshop_order_base_product":                          OK
Changing "domain" columns                                             
  Checking table "mshop_attribute":                                   OK
  Checking table "mshop_attribute_type":                              OK
  Checking table "mshop_attribute_list_type":                         OK
  Checking table "mshop_attribute_list":                              OK
  Checking table "mshop_catalog":                                     OK
  Checking table "mshop_catalog_list_type":                           OK
  Checking table "mshop_catalog_list":                                OK
  Checking table "mshop_catalog_suggest":                             OK
  Checking table "mshop_media_type":                                  OK
  Checking table "mshop_media_list_type":                             OK
  Checking table "mshop_media":                                       OK
  Checking table "mshop_media_list":                                  OK
  Checking table "mshop_plugin":                                      OK
  Checking table "mshop_price":                                       OK
  Checking table "mshop_product_type":                                OK
  Checking table "mshop_product_list_type":                           OK
  Checking table "mshop_product_list":                                OK
  Checking table "mshop_product_tag_type":                            OK
  Checking table "mshop_service":                                     OK
  Checking table "mshop_service_list_type":                           OK
  Checking table "mshop_service_list":                                OK
  Checking table "mshop_text_type":                                   OK
  Checking table "mshop_text":                                        OK
  Checking table "mshop_text_list_type":                              OK
  Checking table "mshop_text_list":                                   OK
Migrating configuration keys in coupon tables                         done
Renaming order domain                                                 
  Checking table "mshop_order":                                       OK
  Checking table "mshop_order_base_address":                          OK
  Checking table "mshop_order_base_service":                          OK
Ensure unique codes in mshop_service                                  done
Renaming order base customercode to customerid                        
  Checking table "mshop_order_base":                                  OK
Adding warehouse code to order base product table                     done
Renaming catalog index tables to index                                
  Checking table "mshop_catalog_index_attribute"                      OK
  Checking table "mshop_catalog_index_catalog"                        OK
  Checking table "mshop_catalog_index_price"                          OK
  Checking table "mshop_catalog_index_text"                           OK
Adding mtime, ctime, editor columns to coupon tables                  
  Checking table "mshop_coupon"                                       
    Checking column "mtime":                                          OK
    Checking column "ctime":                                          OK
    Checking column "editor":                                         OK
  Checking table "mshop_coupon_code"                                  
    Checking column "mtime":                                          OK
    Checking column "ctime":                                          OK
    Checking column "editor":                                         OK
  Checking table "mshop_order_base_coupon"                            
    Checking column "ctime":                                          OK
    Checking column "editor":                                         OK
Renaming column "price" to "value"                                    
  Checking table "mshop_price"                                        OK
Adding status column to all list tables                               
  Checking table "mshop_attribute_list":                              OK
  Checking table "mshop_catalog_list":                                OK
  Checking table "mshop_customer_list":                               OK
  Checking table "mshop_media_list":                                  OK
  Checking table "mshop_price_list":                                  OK
  Checking table "mshop_product_list":                                OK
  Checking table "mshop_service_list":                                OK
  Checking table "mshop_text_list":                                   OK
Migrating order flags to order status list                            
  Deleting order index with flag colum                                OK
  Migrating order flag colum                                          OK
Changing typeid column of product table                               
  Checking table "mshop_product":                                     OK
Renaming order base product amount to quantity                        
  Checking table "mshop_order_base_product":                          OK
Migrating order address salutations                                   
  Checking table "mshop_order_base_address":                          OK
Migrating order type                                                  
  Checking table "mshop_order":                                       OK
Changing typeid of mshop_media table                                  OK
Renaming order columns pdate,ddate,dstatus,pstatus                    
  Checking columne "ddate":                                           OK
  Checking columne "pdate":                                           OK
  Checking columne "pstatus":                                         OK
  Checking columne "dstatus":                                         OK
Renaming column "discount" to "rebate"                                
  Checking table "mshop_price"                                        OK
  Checking table "mshop_order_base"                                   OK
  Checking table "mshop_order_base_product"                           OK
  Checking table "mshop_order_base_service"                           OK
Moving product tag tables to own domain                               
  Moving table "mshop_product_tag_type"                               OK
  Moving table "mshop_product_tag"                                    OK
Adding tax column to order tables                                     
  Checking table "mshop_order_base_product":                          OK
  Checking table "mshop_order_base_service":                          OK
  Checking table "mshop_order_base":                                  OK
Changing typeid of mshop_text table                                   OK
Changing typeid of mshop_attribute table                              OK
Remove left over Laravel user address records                         done
Remove left over Laravel user list records                            done
Creating base tables                                                  
  Using schema from locale.php                                        
    Checking table "mshop_locale_site":                               done
    Checking table "mshop_locale_language":                           done
    Checking table "mshop_locale_currency":                           done
    Checking table "mshop_locale":                                    done
  Using schema from attribute.php                                     
    Checking table "mshop_attribute_type":                            done
    Checking table "mshop_attribute":                                 done
    Checking table "mshop_attribute_list_type":                       done
    Checking table "mshop_attribute_list":                            done
    Checking table "mshop_attribute_property_type":                   done
    Checking table "mshop_attribute_property":                        done
  Using schema from customer.php                                      
    Checking table "mshop_customer":                                  done
    Checking table "mshop_customer_address":                          done
    Checking table "mshop_customer_list_type":                        done
    Checking table "mshop_customer_list":                             done
    Checking table "mshop_customer_group":                            done
    Checking table "mshop_customer_property_type":                    done
    Checking table "mshop_customer_property":                         done
    Checking table "users":                                           done
    Checking table "users_address":                                   done
    Checking table "users_list_type":                                 done
    Checking table "users_list":                                      done
    Checking table "users_property_type":                             done
    Checking table "users_property":                                  done
  Using schema from media.php                                         
    Checking table "mshop_media_type":                                done
    Checking table "mshop_media":                                     done
    Checking table "mshop_media_list_type":                           done
    Checking table "mshop_media_list":                                done
    Checking table "mshop_media_property_type":                       done
    Checking table "mshop_media_property":                            done
  Using schema from order.php                                         
    Checking table "mshop_order_base":                                done
    Checking table "mshop_order_base_address":                        done
    Checking table "mshop_order_base_product":                        done
    Checking table "mshop_order_base_product_attr":                   done
    Checking table "mshop_order_base_service":                        done
    Checking table "mshop_order_base_service_attr":                   done
    Checking table "mshop_order_base_coupon":                         done
    Checking table "mshop_order":                                     done
    Checking table "mshop_order_status":                              done
  Using schema from plugin.php                                        
    Checking table "mshop_plugin_type":                               done
    Checking table "mshop_plugin":                                    done
  Using schema from price.php                                         
    Checking table "mshop_price_type":                                done
    Checking table "mshop_price":                                     done
    Checking table "mshop_price_list_type":                           done
    Checking table "mshop_price_list":                                done
  Using schema from product.php                                       
    Checking table "mshop_product_type":                              done
    Checking table "mshop_product":                                   done
    Checking table "mshop_product_list_type":                         done
    Checking table "mshop_product_list":                              done
    Checking table "mshop_product_property_type":                     done
    Checking table "mshop_product_property":                          done
  Using schema from stock.php                                         
    Checking table "mshop_stock_type":                                done
    Checking table "mshop_stock":                                     done
  Using schema from service.php                                       
    Checking table "mshop_service_type":                              done
    Checking table "mshop_service":                                   done
    Checking table "mshop_service_list_type":                         done
    Checking table "mshop_service_list":                              done
  Using schema from supplier.php                                      
    Checking table "mshop_supplier":                                  done
    Checking table "mshop_supplier_address":                          done
    Checking table "mshop_supplier_list_type":                        done
    Checking table "mshop_supplier_list":                             done
  Using schema from text.php                                          
    Checking table "mshop_text_type":                                 done
    Checking table "mshop_text":                                      done
    Checking table "mshop_text_list_type":                            done
    Checking table "mshop_text_list":                                 done
  Using schema from coupon.php                                        
    Checking table "mshop_coupon":                                    done
    Checking table "mshop_coupon_code":                               done
  Using schema from catalog.php                                       
    Checking table "mshop_catalog":                                   done
    Checking table "mshop_catalog_list_type":                         done
    Checking table "mshop_catalog_list":                              done
  Using schema from tag.php                                           
    Checking table "mshop_tag_type":                                  done
    Checking table "mshop_tag":                                       done
  Using schema from index.php                                         
    Checking table "mshop_index_attribute":                           done
    Checking table "mshop_index_catalog":                             done
    Checking table "mshop_index_price":                               done
    Checking table "mshop_index_supplier":                            done
    Checking table "mshop_index_text":                                done
  Using schema from subscription.php                                  
    Checking table "mshop_subscription":                              done
Add locale data for languages and currencies                          
  Adding data for MShop locale languages                              188/188
  Adding data for MShop locale currencies                             156/156
Adding currency ID to order base service table                        done
Creating admin tables                                                 
  Using schema from cache.php                                         
    Checking table "madmin_cache":                                    done
    Checking table "madmin_cache_tag":                                done
  Using schema from log.php                                           
    Checking table "madmin_log":                                      done
  Using schema from job.php                                           
    Checking table "madmin_job":                                      done
  Using schema from queue.php                                         
    Checking table "madmin_queue":                                    done
Adding data for MShop locale domain                                   
  Adding data for MShop locale sites                                  done
  Adding data for MShop locales                                       done
Adding locale data if not yet present                                 OK
Setting locale to "default"                                           OK
Move list types to separate table                                     
  Checking table "mshop_attribute_list":                              OK
  Checking table "mshop_attribute_option_list":                       OK
  Checking table "mshop_catalog_list":                                OK
  Checking table "mshop_product_list":                                OK
  Checking table "mshop_service_list":                                OK
Renaming plugin domain                                                
  Checking table "mshop_plugin":                                      OK
Adding label column to mshop_plugin table                             OK
Migrate suppliercode in mshop_product                                 OK
Creating platform specific schema                                     
  Using tables from index-pgsql.sql                                   
    Checking index "mshop_index_text.idx_msindte_p_s_lt_la_ty_do_va": OK
    Checking index "mshop_index_text.idx_msindte_value":              OK
  Using tables from order-pgsql.sql                                   
    Checking index "mshop_order_base_product_attr.idx_msordbaprat_si_cd_va": OK
    Checking index "mshop_order_base_service_attr.idx_msordbaseat_si_cd_va": OK
  Using tables from text-pgsql.sql                                    
    Checking index "mshop_text.idx_mstex_sid_dom_cont":               OK
Add stock type domain values                                          done
Add domain values to "mshop_product_stock_type" table                 OK
Adding typeid column to price table                                   
  Checking column "typeid":                                           OK
Populate weekday column in order table                                done
Adding currency ID to order base product table                        done
Renaming service domain                                               
  Checking table "mshop_service":                                     OK
Renaming service configuration                                        OK
Setting label and status values                                       
  Checking table "mshop_attribute_type":                              OK
  Checking table "mshop_attribute_list_type":                         OK
  Checking table "mshop_catalog_list_type":                           OK
  Checking table "mshop_media_list_type":                             OK
  Checking table "mshop_media_type":                                  OK
  Checking table "mshop_plugin_type":                                 OK
  Checking table "mshop_product_list_type":                           OK
  Checking table "mshop_product_tag_type":                            n/a
  Checking table "mshop_product_type":                                OK
  Checking table "mshop_service_list_type":                           OK
  Checking table "mshop_service_type":                                OK
  Checking table "mshop_text_list_type":                              OK
  Checking table "mshop_text_type":                                   OK
Migrating "Complete" to "BasketLimits" plugin                         
  Migrating "minorder"                                                OK
  Migrating "minproducts"                                             OK
  Migrating "Complete"                                                OK
Migrating configuration of "Complete" plugin                          OK
Migrating configuration of "ProductLimit" plugin                      OK
Changing typeid to not allow NULL values                              
  Checking table "mshop_attribute_list":                              OK
  Checking table "mshop_text_list":                                   OK
  Checking table "mshop_catalog_list":                                OK
  Checking table "mshop_product_list":                                OK
  Checking table "mshop_service_list":                                OK
  Checking table "mshop_media_list":                                  OK
Adding time columns to order table                                    done
Adding MShop type data for site "default"                             
  Checking "attribute/type" type data                                 OK
  Checking "attribute/lists/type" type data                           OK
  Checking "catalog/lists/type" type data                             OK
  Checking "customer/lists/type" type data                            OK
  Checking "media/type" type data                                     OK
  Checking "media/lists/type" type data                               OK
  Checking "media/property/type" type data                            OK
  Checking "plugin/type" type data                                    OK
  Checking "price/type" type data                                     OK
  Checking "price/lists/type" type data                               OK
  Checking "product/type" type data                                   OK
  Checking "product/lists/type" type data                             OK
  Checking "product/property/type" type data                          OK
  Checking "stock/type" type data                                     OK
  Checking "service/type" type data                                   OK
  Checking "service/lists/type" type data                             OK
  Checking "supplier/lists/type" type data                            OK
  Checking "tag/type" type data                                       OK
  Checking "text/type" type data                                      OK
  Checking "text/lists/type" type data                                OK
Adding default code data for site "default"                           
  Checking "customer/group" codes                                     OK
Processing supplier demo data                                         
   RuntimeException  : No product for code "demo-article" found

  at /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-core/lib/mshoplib/setup/MShopAddDataAbstract.php:378
    374| 
    375| 		foreach( $data as $entry )
    376| 		{
    377| 			if( !isset( $codes[$entry['code']] ) ) {
  > 378| 				throw new \RuntimeException( sprintf( 'No product for code "%1$s" found', $entry['code'] ) );
    379| 			}
    380| 
    381| 			$listItem->setId( null );
    382| 			$listItem->setTypeId( $this->getTypeId( $domain . '/lists/type', 'product', $entry['list-type'] ) );

  Exception trace:

  1   Aimeos\MW\Setup\Task\MShopAddDataAbstract::addProducts("5", "supplier")
      /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-core/lib/mshoplib/setup/default/DemoAddSupplierData.php:108

  2   Aimeos\MW\Setup\Task\DemoAddSupplierData::saveItems()
      /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-core/lib/mshoplib/setup/default/DemoAddSupplierData.php:74

  3   Aimeos\MW\Setup\Task\DemoAddSupplierData::migrate()
      /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Setup/Manager/Multiple.php:190

  4   Aimeos\MW\Setup\Manager\Multiple::migrateTasks()
      /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Setup/Manager/Multiple.php:186

  5   Aimeos\MW\Setup\Manager\Multiple::migrateTasks()
      /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Setup/Manager/Multiple.php:112

  6   Aimeos\MW\Setup\Manager\Multiple::migrate(Object(Aimeos\MW\Setup\Task\DemoRebuildIndex))
      /media/Data/Документи/WebDocs/Shop/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Command/SetupCommand.php:75

  7   Aimeos\Shop\Command\SetupCommand::handle()
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29

  8   call_user_func_array([])
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29

  9   Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87

  10  Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Object(Closure))
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31

  11  Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), [])
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Container/Container.php:564

  12  Illuminate\Container\Container::call()
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Console/Command.php:183

  13  Illuminate\Console\Command::execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
      /media/Data/Документи/WebDocs/Shop/vendor/symfony/console/Command/Command.php:251

  14  Symfony\Component\Console\Command\Command::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Console/Command.php:170

  15  Illuminate\Console\Command::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      /media/Data/Документи/WebDocs/Shop/vendor/symfony/console/Application.php:886

  16  Symfony\Component\Console\Application::doRunCommand(Object(Aimeos\Shop\Command\SetupCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      /media/Data/Документи/WebDocs/Shop/vendor/symfony/console/Application.php:262

  17  Symfony\Component\Console\Application::doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      /media/Data/Документи/WebDocs/Shop/vendor/symfony/console/Application.php:145

  18  Symfony\Component\Console\Application::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Console/Application.php:89

  19  Illuminate\Console\Application::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      /media/Data/Документи/WebDocs/Shop/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php:122

  20  Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      /media/Data/Документи/WebDocs/Shop/artisan:37
How to resolve it?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Demo data issue

Post by aimeos » 16 Sep 2018, 11:17

There was a dependency missing causing this issue and we've released a new aimeos-core version. If you execute "composer update" again, adding the demo data should now succeed.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

IsRenim
Posts: 8
Joined: 24 Jun 2018, 07:48

Re: Demo data issue

Post by IsRenim » 16 Sep 2018, 14:35

Thanks!

Post Reply