If I upgrade to Craft 5 without the plugin, it runs smoothly.
If I try to then install the Snipcart plugin from the Plugin Store on the Craft 5 control panel, I run across a similar error as follows. As soon as I disable the Snipcart plugin using the command line, the errors disappear and I can use Craft 5 as usual.
Unknown Property – [yii\base\UnknownPropertyException](https://www.yiiframework.com/doc-2.0/yii-base-unknownpropertyexception.html)
Setting unknown property: verbb\snipcart\fields\ProductDetails::columnType
1. in /var/www/html/vendor/yiisoft/yii2/base/Component.phpat line 209
2. in /var/www/html/vendor/yiisoft/yii2/BaseYii.php at line 558– [yii\base\Component::__set](https://www.yiiframework.com/doc-2.0/yii-base-component.html#__set()-detail)('columnType', ['sku' => 'string', 'inventory' => 'integer', 'price' => 'money', 'taxable' => 'boolean', ...])
3. in /var/www/html/vendor/yiisoft/yii2/base/BaseObject.php at line 107– [yii\BaseYii::configure](https://www.yiiframework.com/doc-2.0/yii-baseyii.html#configure()-detail)(verbb\snipcart\fields\ProductDetails, ['id' => 15, 'dateCreated' => DateTime, 'dateUpdated' => DateTime, 'name' => 'Product Details', ...])
4. in /var/www/html/vendor/craftcms/cms/src/base/Model.php at line 78– [yii\base\BaseObject::__construct](https://www.yiiframework.com/doc-2.0/yii-base-baseobject.html#__construct()-detail)(['id' => 15, 'dateCreated' => DateTime, 'dateUpdated' => DateTime, 'name' => 'Product Details', ...])
5. in /var/www/html/vendor/craftcms/cms/src/base/Field.php at line 271– craft\base\Model::__construct(['id' => 15, 'dateCreated' => DateTime, 'dateUpdated' => DateTime, 'name' => 'Product Details', ...])
Steps to reproduce
Upgrade to Craft 5
Install Snipcart plugin
Get errors
Craft CMS version
5.1.7
Plugin version
3.0.0
Multi-site?
No
Additional context
PHP version: 8.2.13
Other plugins installed:
CKEditor, CP Clear Cache, CP Field Inspect, Control Panel CSS, Dumper, Elements Panel, Empty Coalesce, Mix, Sprig
Disabling all of these does not prevent the errors occurring when trying to install the Snipcart Plugin.
Describe the bug
While trying to upgrade to Craft 5 from Craft 4.9.2 using
ddev composer update
and thenddev php craft up
, the migration fails due to this error:If I upgrade to Craft 5 without the plugin, it runs smoothly. If I try to then install the Snipcart plugin from the Plugin Store on the Craft 5 control panel, I run across a similar error as follows. As soon as I disable the Snipcart plugin using the command line, the errors disappear and I can use Craft 5 as usual.
Steps to reproduce
Craft CMS version
5.1.7
Plugin version
3.0.0
Multi-site?
No
Additional context
PHP version: 8.2.13
Other plugins installed: CKEditor, CP Clear Cache, CP Field Inspect, Control Panel CSS, Dumper, Elements Panel, Empty Coalesce, Mix, Sprig
Disabling all of these does not prevent the errors occurring when trying to install the Snipcart Plugin.