Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing pluigin give error #6

Open
roulendz opened this issue Feb 22, 2022 · 1 comment
Open

installing pluigin give error #6

roulendz opened this issue Feb 22, 2022 · 1 comment

Comments

@roulendz
Copy link

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
Copy link
Contributor

drmzio commented Feb 22, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants