cloudflare / cloudflare/cloudflare-php

Not able to setMinification for the page rules.

Open
#155 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
674
Forks
268
PR merge metrics
No merged PRs in 30d

Description

Given in an error:

[code] => 1005
[message] => An invalid target or action was specified: Missing or unconfigured setting: 'minification'

On the API Docs:

https://api.cloudflare.com/#available-page-rules-for-a-zone-properties

There is not such `$configuration['id']` as `minification`

I does have `"id": "minify"`

So on line 173 of PageRulesActions.php

I tried to set `minify` instead of `minification` but even then it throws a different error.

I am not a programmer so you must know best how to fix this.

Thanks for the great work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.