Log warnings: foreach() argument must be of type array|object, null given

Created on 10 November 2024, 12 days ago

Problem/Motivation

I see the following warnings in the logs after using the VBO export module :

Warning: foreach() argument must be of type array|object, null given in Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor->process() (line 453 of /app/web/modules/contrib/views_bulk_operations/src/Service/ViewsBulkOperationsActionProcessor.php)

Steps to reproduce

  1. Install Views Bulk Operations and VBO export modules.
  2. Create a view with a VBO action to export results.
  3. Select some nodes and choose export.
  4. Check logs.

I'm not sure which release this started on, or if it was an update to core or vbo_export, but I think it's sometime in the past month. Reproduced on 4.3.1 and 4.3.2.

🐛 Bug report
Status

Active

Version

4.3

Component

Core

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024