Enpoint Manager Network Scan Whoops error

A brand new ISO install of FreePBX, I’ve gotten the network configuration done and added a phone brand (Aastra) to Endpoint Manager. When I click Network scan I get the error below:

Whoops\Exception\ErrorException thrown with message "Invalid argument supplied for foreach()"

#4 Whoops\Exception\ErrorException in /var/www/html/admin/modules/endpoint/EndpointCommon.class.php:1329
#3 Whoops\Run:handleError in /var/www/html/admin/modules/endpoint/EndpointCommon.class.php:1329
#2 FreePBX\modules\Endpoint\EndpointCommon:getNmapView in /var/www/html/admin/modules/endpoint/views/page.endpoint.php:773
#1 include_once in /var/www/html/admin/modules/endpoint/page.endpoint.php:10
#0 include in /var/www/html/admin/config.php:543

Am I missing something? All my modules are up to date and system admin tells me I’m on the latest stable 10 build.

Issue is caused if there are no extensions created in FreePBX

Can you open a bug report at issues.freepbx.org for us please