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

Plugin broke on first use #166

Closed
baggednismo opened this issue Jul 31, 2023 · 3 comments
Closed

Plugin broke on first use #166

baggednismo opened this issue Jul 31, 2023 · 3 comments

Comments

@baggednismo
Copy link

Was just checking out the settings, options, etc. Last thing I did was go tot he form fields and added a new one. Didnt change anything but likely navigated away. Now im unable to access the plugin's settings. Likely a dupe of #160

I did cache:clear and cleared in my browser. then reset plugin data. no luck though, still not working.
ErrorException: foreach() argument must be of type array|object, null given in /var/www/albanyat.com/plugins/janvince/smallcontactform/models/Settings.php:176

@jan-vince
Copy link
Owner

Sorry, I can't replicate this. What version of October and plugin do you use?

Removing and reinstall plugin solve this?

@baggednismo
Copy link
Author

OctoberCMS: 3.4.11
SmallContactForm: 1.63.5

Removing and reinstall plugin solve this? No, I have removed and reinstalled multiple times and tried clearing cache in different ways in between without success.

@jan-vince
Copy link
Owner

I am sorry, but I can't replicate this :(

But I have added an extra check for fields array in new version so this should not happen again.

If you can check this please let me know.

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