? Success

User tests: Successful: Unsuccessful:

avatar itbra
itbra
3 Mar 2015

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.

avatar itbra itbra - open - 3 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 3 Mar 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 3 Mar 2015
Easy No Yes
avatar zero-24 zero-24 - change - 7 Mar 2015
Category Plugins
avatar seagul30
seagul30 - comment - 14 Mar 2015

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!

avatar itbra
itbra - comment - 14 Mar 2015

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.

avatar itbra itbra - change - 14 Mar 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-03-14 14:00:05
avatar itbra itbra - close - 14 Mar 2015
avatar itbra itbra - close - 14 Mar 2015

Add a Comment

Login with GitHub to post a comment