On Drupal 9.4.7, Php 8.1 and workbench_access 8.x-1.1 I am seeing this error on a View where the 'type' of handler is 'filter'.
Warning: foreach() argument must be of type array|object, null given in workbench_access_view_check() (line 271 of modules/contrib/workbench_access/workbench_access.module).
I can provide the config fo the View if that is helpful, but it's unclear why this is happening. Basically $view->getHandlers('filter') on this View returns 'null'. It might be best to put a null check prior to the foreach here.
I have installed workbench_access and am rendering a complex View.
Add a null value check prior to
foreach ($view->getHandlers($type) as $items) { }
Postponed: needs info
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.