10000 Invalid argument exception when no active syncer is found. · Issue #6 · ymcatwincities/ymca_sync · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Invalid argument exception when no active syncer is found. #6

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

Open
andrebonon opened this issue May 27, 2024 · 1 comment
Open

Invalid argument exception when no active syncer is found. #6

andrebonon opened this issue May 27, 2024 · 1 comment

Comments

@andrebonon
Copy link
Contributor

The error below happens when there is no sync active.

TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 81 of modules/contrib/ymca_sync/src/Form/SettingsForm.php).

Proposed resolution:
Set an empty array to $active instead of null.

@andrebonon
Copy link
Contributor Author

#7

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
0