foreach() argument must be of type array|object, null given in media_external_preprocess_pager()

Created on 1 March 2023, over 1 year ago
Updated 19 July 2023, about 1 year ago

Problem/Motivation

Warning: foreach() argument must be of type array|object, null given in media_external_preprocess_pager() (line 15 of modules/contrib/media_external/media_external.module).
media_external_preprocess_pager(Array, 'pager', Array)

Steps to reproduce

Search for "testa" in pexels and it only returns 2 results.

Proposed resolution

Fix it.

Remaining tasks

Review

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium Mschudders

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

Comments & Activities

Production build 0.71.5 2024