• Hi!
    Just wanted to give you a heads up. It looks like you’re throwing a “too few arguments… ” error:
    [Sat Nov 12 13:23:34.523217 2022] [proxy_fcgi:error] [pid 22028:tid 140187757684480] [client 172.70.210.215:14266] AH01071: Got error 'PHP message: [Cloudflare] ERROR: [CLIENT API] Array( [type] => request [path] => https://api.cloudflare.com/client/v4/zones?action=cloudflare_proxy [timeout] => 30 [method] => GET [headers] => Array ( [Content-Type] => application/json [User-Agent] => wordpress/6.1; cloudflare-wordpress-plugin/4.11.0 [Authorization] => REDACTED )) PHP message: [Cloudflare] ERROR: [CLIENT API] Array( [type] => response [reason] => Bad Request [code] => 400) PHP message: [Cloudflare] ERROR: Bad Request PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function CF\\API\\Request::__construct(), 3 passed in /...path/to/files.../example.com/wp-content/plugins/cloudflare/src/WordPress/ClientActions.php on line 47 and exactly 4 expected in /...path/to/files.../example.com/wp-content/plugins/cloudflare/src/API/Request.php:19Stack trace:#0 /...path/to/files.../example.com/wp-content/plugins/cloudflare/src/WordPress/ClientActions.php(47): CF\\API\\Request->__construct()#1 /...path/to/files.../example.com/wp-content/plugins/cloudflare/src/Router/DefaultRestAPIRouter.php(62): CF\\WordPress\\ClientActions->returnWordPressDomain()#2 /...path/to/files.../example.com/wp-content/plugins/cloudflare/src/Router/RequestRouter.php(59): CF\\Router\\DefaultRestAPIRouter->route()#3 /...path/to/files.../example.com/wp-content/plugins/cloudflare/src/WordPress/Proxy.php(64): CF\\Router\\RequestRouter->route()#4 /...path/to/files.../example.com', referer: https://example.com/wp-admin/options-general.php?page=cloudflare
    Regards, -Brian

The topic ‘php fatal error’ is closed to new replies.