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

Errors when enabling plugin #8

Closed
spirrello opened this issue Sep 8, 2021 · 1 comment
Closed

Errors when enabling plugin #8

spirrello opened this issue Sep 8, 2021 · 1 comment

Comments

@spirrello
Copy link

When I click Activate I'm getting the following error.

Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, 
null given in /var/www/html/user/plugins/password-protection/plugin.php:33 
Stack trace: #0 /var/www/html/includes/functions-plugins.php(232): warning_redirection(Array) 
#1 /var/www/html/includes/functions-plugins.php(282): yourls_apply_filter('pre_redirect', Array, true) 
#2 /var/www/html/includes/functions.php(217): yourls_do_action('pre_redirect', 'http://supertes...', 302) 
#3 /var/www/html/admin/plugins.php(26): yourls_redirect('http://supertes...', 302) 
#4 {main} thrown in /var/www/html/user/plugins/password-protection/plugin.php on line 33
spirrello pushed a commit to spirrello/yourls-password-protection that referenced this issue Sep 9, 2021
MatthewC added a commit that referenced this issue Sep 10, 2021
@spirrello
Copy link
Author

fixed with #9

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

1 participant