FreePBX 17.0.15.13 - Provisioning Cisco Phones in Endpoint Manager - Error

We have a beta version of FreePBX 17 set up. When we try and provision a Cisco phone with the default Endpoint Manager template, we get a “Whoops \ Exception \ ErrorException (E_DEPRECATED)
str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated” error.

Can anyone reproduce this?

Also this:

Whoops\Exception\ErrorException
/var/www/html/admin/modules/endpoint/functions.inc/functions_cisco.php344

str_replace
/var/www/html/admin/modules/endpoint/functions.inc/functions_cisco.php344

endpoint_write_cisco_ext
/var/www/html/admin/modules/endpoint/functions.inc/functions_common.php69

endpoint_write_ext
/var/www/html/admin/modules/endpoint/views/page.endpoint.php925

unknown
/var/www/html/admin/modules/endpoint/page.endpoint.php10

include
/var/www/html/admin/config.php658

I have the "Environment and Details section if you want to know more.

Can you please give a try with 17.0.1.54 ?

fwconsole ma downloadinstall endpoint --tag=17.0.1.54

This appears to have worked. It doesn’t show any errors, and creates a normal looking spa(MAC).xml file. I was able to apply the xml file to the phone and provision it successfully. The Cisco phone is now registered to the PBX. Thank you very much.