Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/flash/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 在Solidus 1.3上新安装:验证失败:存储can';添加到购物车时不能为空(在solidus hello world安装版本1.3上)_Ruby On Rails_Solidus - Fatal编程技术网

Ruby on rails 在Solidus 1.3上新安装:验证失败:存储can';添加到购物车时不能为空(在solidus hello world安装版本1.3上)

Ruby on rails 在Solidus 1.3上新安装:验证失败:存储can';添加到购物车时不能为空(在solidus hello world安装版本1.3上),ruby-on-rails,solidus,Ruby On Rails,Solidus,当我在一个基本产品上单击“添加到购物车”时,我得到了这个结果。在spree_stores表中,我有一条“样本存储”记录,因为它由生成器(?)填充 ActiveRecord::RecordInvalid in Spree::OrdersController#populate 验证失败:存储不能为空 完整堆栈跟踪: Gemfile.lock 通过手动将spree_stores中“样本存储”记录上的“默认”标志设置为true(1),可以解决此问题 改为

当我在一个基本产品上单击“添加到购物车”时,我得到了这个结果。在spree_stores表中,我有一条“样本存储”记录,因为它由生成器(?)填充

ActiveRecord::RecordInvalid in Spree::OrdersController#populate 验证失败:存储不能为空

完整堆栈跟踪:

Gemfile.lock

通过手动将spree_stores中“样本存储”记录上的“默认”标志设置为true(1),可以解决此问题

改为