I am having an issue with creating a config for one extension in particular. Others seem to be fine? so its strange.
I receive this error when trying to create the provisioning config.
Exception: [500-get] {https://127.0.0.1/provisioning/api/provision/24:9a:d8:7c:ae:a9}: {"message":"[\/usr\/share\/provisioning\/storage\/framework\/views\/1be874864acc529c0fcdd9177b9c1dedc7fecd81.php:1476] Unsupported operand types: string + string (View: \/usr\/share\/provisioning\/storage\/framework\/views\/c939ba381c4c5e2881f8ca7ca648d0ef4b3bdd35.blade.php)"} at file /usr/share/vitalpbx/www/includes/components/provisioning/RestClient.php on line 0
Error Trace
# File Function
1 /usr/share/vitalpbx/www/index.php:0 app\Core->run(...args);
2 /usr/share/vitalpbx/www/includes/app/Core.php:0 app\Core->_loadModule(...args);
3 /usr/share/vitalpbx/www/includes/app/Core.php:0 app\Core->loadModuleAction(...args);
4 /usr/share/vitalpbx/www/includes/app/Core.php:0 modules\provisioning\provisioning->put(...args);
5 /usr/share/vitalpbx/www/modules/provisioning/provisioning.php:0 modules\provisioning\Device->save(...args);
6 /usr/share/vitalpbx/www/modules/provisioning/Device.php:0 unknown(...args);
7 /usr/share/vitalpbx/www/modules/provisioning/Device.php:0 modules\provisioning\Device->generateProvisioningFile(...args);
8 /usr/share/vitalpbx/www/modules/provisioning/Device.php:0 provisioning\RestClient->Retrieve(...args);
9 /usr/share/vitalpbx/www/includes/components/provisioning/RestClient.php:0 provisioning\RestClient->_sendRequest(...args);
I have tried running an apt clean/update/install and it did install some provisioning module updates but it did not help. I tried deleting and recreating the extension as well as the provisioning entry with no luck still.
Phone model is Yealink t43U, I do have others working.
Now I am getting this error when trying to update any of my templates.
Exception: [500-get] {https://127.0.0.1/provisioning/api/provision/24:9A:D8:7C:AE:89}: {"message":"[\/usr\/share\/provisioning\/storage\/framework\/views\/1be874864acc529c0fcdd9177b9c1dedc7fecd81.php:1476] Unsupported operand types: string + string (View: \/usr\/share\/provisioning\/storage\/framework\/views\/c939ba381c4c5e2881f8ca7ca648d0ef4b3bdd35.blade.php)"} at file /usr/share/vitalpbx/www/includes/components/provisioning/RestClient.php on line 0
Error Trace
# File Function
1 /usr/share/vitalpbx/www/index.php:0 app\Core->run(...args);
2 /usr/share/vitalpbx/www/includes/app/Core.php:0 app\Core->_loadModule(...args);
3 /usr/share/vitalpbx/www/includes/app/Core.php:0 app\Core->loadModuleAction(...args);
4 /usr/share/vitalpbx/www/includes/app/Core.php:0 modules\provisioning_templates\provisioning_templates->put(...args);
5 /usr/share/vitalpbx/www/modules/provisioning_templates/provisioning_templates.php:0 modules\provisioning_templates\ProvisioningTemplate->save(...args);
6 /usr/share/vitalpbx/www/modules/provisioning_templates/ProvisioningTemplate.php:0 modules\provisioning_templates\ProvisioningTemplate->_updateProvisioningFiles(...args);
7 /usr/share/vitalpbx/www/modules/provisioning_templates/ProvisioningTemplate.php:0 modules\provisioning\Device->generateProvisioningFile(...args);
8 /usr/share/vitalpbx/www/modules/provisioning/Device.php:0 provisioning\RestClient->Retrieve(...args);
9 /usr/share/vitalpbx/www/includes/components/provisioning/RestClient.php:0 provisioning\RestClient->_sendRequest(...args);
hlev
September 6, 2024, 10:26pm
3
Did you make any custom changes to the templates?
The error is showing in line 1476 of the following file: /usr/share/provisioning/storage/framework/views/1be874864acc529c0fcdd9177b9c1dedc7fecd81.php
Check the file to see what the server is generating and see if you have errors in your template file in the gui.
Ahh thank you, you were right. I had made a change that broke it and I thought I had removed it. Guess not. Thank you!