Problem/Motivation

Notice: Trying to get property 'fields' of non-object in Drupal\views_bulk_operations\Service\ViewsBulkOperationsViewData->getEntityDefault() (line 258 of web/modules/contrib/views_bulk_operations/src/Service/ViewsBulkOperationsViewData.php)

Steps to reproduce

Enable views_bulk_operations and dblog.
After enabling the module, visit admin/content page.
Go to admin/reports/dblog. Notice will be there.

Proposed resolution

submit patch to check isset($view->query)

Comments

mohit.bansal623 created an issue. See original summary.

mohit.bansal623’s picture

Assigned: Unassigned » mohit.bansal623
mohit.bansal623’s picture

Issue summary: View changes
mohit.bansal623’s picture

Applying the patch for isset.

mohit.bansal623’s picture

This issue is occurring because of VBO field added in Content Data Export View. I have removed this field from Data export view as it is of no use there and then the notice is gone.

Patch is not needed anymore it seems until one is not able to figure out the issue in Data Export.

graber’s picture

Status: Active » Closed (works as designed)

Thanks for reporting, may help someone.