foreach() argument must be of type array|object, string given CloudFlarePurger.php

Created on 7 July 2023, over 1 year ago
Updated 29 October 2023, about 1 year ago

Problem/Motivation

I am getting following warning on latest 2.0.0.alpha
[warning] foreach() argument must be of type array|object, string given CloudFlarePurger.php:204

Steps to reproduce

- Upgrade to the module and run the command.

Proposed resolution

- Based on class's variable properties and configuration form it looks like zone id is a string, i think we can directly use it without for loop?
- Review with community if we need multiple zone ids
- Added a patch with the fix

Remaining tasks

- Needs review

User interface changes

N/A

API changes

N/A

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India mohit_aghera Rajkot

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

Comments & Activities

Production build 0.71.5 2024