Unable to add VBO fields to any views after upgrading to the latest version and upgrading my site to PHP 8. For example if I try to create a new view based on an entity or node type and try to add a vbo field I get this error:
TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in method_exists() (line 532 of /docroot/modules/contrib/views_bulk_operations/src/Plugin/views/field/ViewsBulkOperationsBulkForm.php)
Patch line 532 of ViewsBulkOperationsBulkForm.php to something like:
From:
if (method_exists($action['class'], 'buildPreConfigurationForm')) {
To:
if (isset($action['class']) && method_exists($action['class'], 'buildPreConfigurationForm')) {
Closed: works as designed
4.1
Core
The issue particularly affects sites running on PHP version 8.0.0 or later.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.