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

Undefined index: name #73

Closed
StuFromDrum opened this issue Apr 5, 2019 · 2 comments
Closed

Undefined index: name #73

StuFromDrum opened this issue Apr 5, 2019 · 2 comments

Comments

@StuFromDrum
Copy link

Hi, this is a great plugin. I've used it on another site. But... for some reason I'm now getting an 'Undefined index: name' error on a new installation.

Plugin installs fine, go to Settings, add new fields & save. As soon as I refresh it throws the error and I can no longer access the Settings. Need to uninstall & reinstall, only for the same thing to happen each time.

Plugin v.1.24.0
OctoberCMS build 447

Error:

Undefined index: name
/home/vagrant/code/villacrowd/plugins/janvince/smallcontactform/models/Settings.php line 174

Any ideas?

@StuFromDrum
Copy link
Author

Weirdly it works if I copy the array from value field in the system_settings table of my other site (running v.1.20.0) into this new installation and change the field values directly in the db.

As soon as I change any settings within OctoberCMS, and saves, it breaks.

@jan-vince
Copy link
Owner

Hi @StuFromDrum,

I can't replicate this - on clean install everything is just fine.

Try to use SQLite (or other DB than you use now) to see if there is any change.

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