ompmega / oc-mix-helper-plugin

OctoberCMS plugin that supports Laravel Mix "mix()" function in Twig templates.
https://octobercms.com/plugin/ompmega-mixhelper
5 stars 2 forks source link

installing pluigin give error #6

Open roulendz opened 2 years ago

roulendz commented 2 years ago

Using Octobercms 1.0 version and installing plugin from console or admin page, I get this error

image

`laradock@4180ead3b9a8:/var/www$ php artisan plugin:install Ompmega.MixHelper Downloading plugin: Ompmega.MixHelper Unpacking plugin: Ompmega.MixHelper Migrating plugin... Ompmega.MixHelper

In Connection.php line 664:

SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value (SQL: insert into system_plugin_versions (code, version, created_at) values (Ompmega.MixHelper, 1.0.1, 2022-02-22 20:29:33))

In PDOStatement.php line 107:

SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

In PDOStatement.php line 105:

SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value

laradock@4180ead3b9a8:/var/www$ `

drmzio commented 2 years ago

@roulendz Hmmm not sure why this error would occur. I haven't used October CMS for a while and not entirely sure if the plugin installation behavior was changed. The plugin itself does not migrate anything to the database either...

I tested the installation on October v2 and it worked just fine 🤔

Image 2022-02-22 at 1 42 50 PM