Version info:
After changing the sip driver from “chan_sip” to pjsip on advanced settings, then changing my only extension from SIP to PJSIP, I got a page with the below output (the HTML was printed not parsed). After reloading the page it appeared that the rest of the change had happened and was working normally.
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'flags' cannot be null<br><br>error adding to SIP table
Trace Back
/var/www/html/admin/modules/core/functions.inc/drivers/PJSip.class.php:52 die_freepbx()
[0]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'flags' cannot be null<br><br>error adding to SIP table
/var/www/html/admin/modules/core/Core.class.php:1322 FreePBX\modules\Core\Drivers\PJSip->addDevice()
[0]: 2666
/var/www/html/admin/modules/core/functions.inc.php:6608 FreePBX\modules\Core->addDevice()
[0]: 2666
[1]: pjsip
[3]: 1
/var/www/html/admin/libraries/components.class.php:454 core_devices_configprocess()
[0]: extensions
/var/www/html/admin/config.php:324 component->processconfigpage()