With system debugging enabled and all debug-plugin options enabled there will an error be thrown array_intersect() is called with either parameter not being an array. While $filterGroups is explicitely cast as array $userGroups is not and neither checked for an empty return value. Defining a fallback value - empty array - fixes this error and array_intersect works properly.
I wanted to test, but cannot find where the error is shown. I enabled the debugger with all plugin options, checked my logs, tried frontend and backend.
Could you please give more details to reproduce the issue?
Thanks!
Thanks for your effort. I'm afraid, i have to disappoint to for the moment. To my suprise i cannot reproduce this error as well. I have to watch my application for a longer period of time to discover a potential error pattern. Until then i'd suggest to close this PR and re-open it when there is more valuable information.
I wanted to test, but cannot find where the error is shown. I enabled the debugger with all plugin options, checked my logs, tried frontend and backend.
Could you please give more details to reproduce the issue?
Thanks!