It is possible to authenticate with the CloudFlare API without having defined a website at CloudFlare. The first part of the configuration form accept the users credentials but the zone configuration form displays a fatal error:
Fatal error: Call to a member function getZoneId() on null in src/Form/ZoneSelectionForm.php on line 130
This adds some defensive coding practises around the getZoneId method call to ensure that there are zones available before attempting the zone id lookup.
It is possible to authenticate with the CloudFlare API without having defined a website at CloudFlare. The first part of the configuration form accept the users credentials but the zone configuration form displays a fatal error:
This adds some defensive coding practises around the
getZoneId
method call to ensure that there are zones available before attempting the zone id lookup.