foreach ($conditions as $key => &$condition) {
+ if(is_array(...

Contribution Date
Technology
Contribution Project
Contribution Details

foreach ($conditions as $key => &$condition) {
+ if(is_array($condition)){
if ($condition['field'] == 'c.status' && $condition['value'] == COMMENT_PUBLISHED) {
unset($conditions[$key]);
}
+ }
}
I have added + if(is_array($condition)){ this condition of Is_array() and it removed the error. I don't know how to make patch. But adding this solved my problem.

Contribution Author
Files count
0
Patches count
0