Commericial endpoint manager crashes

Trying to save a change in a basefile.

I set…

P146 = phone__line1Ext__

Clicked save update and rebuild and I get the following error…

 Whoops \ Exception \ ErrorException (E_WARNING)

array_key_exists() expects parameter 2 to be array, boolean given
/var/www/html/admin/modules/endpoint/EndpointGrandstream.class.php    
GET Data
display 	endpoint
view 	grandstream
template 	general
POST Data
int_ip 	10.0.2.3
ext_ip 	104.235.12.82
orig_ip 	__internal__
template_name 	general
destination 	__internal__
dest_option 	internal
protocol 	1
ftpserver 	__internalProvision__
pro_option 	internal
timezone 	8
time_server_1 	0.us.pool.ntp.org
daylight 	1
background 	None
lineLabel 	0
multicastAddress 	
dialpattern 	{x+|*x+}
firmware 	1
answer 	1
hotlineDest 	
wEnable1 	1
wssid1 	RMT 3
wsecurity1 	4
wWEPBits1 	
wWPAPSKPass1 	624b351c
wWPAPSKKey1 	624b351c
action 	save_template
task 	and Reboot
Files empty
Cookies
lang 	en_US
searchHide 	1
extensions-EPM_bs_table_searchText 	1072
extensions-EPM_bs_table_pageNumber 	1
extensions-EPM_bs_table_pageList 	100
PHPSESSID 	7ucevr7e6sco9d9n9bqgfb1mf0
ci_session 	uN05mbdVnSFuE2VV2fnANNS7lawGjjdekMhjuiPy/lQwBos4KzlJdknUwp3geurLSvA/zZ2F5oOgDJ/EpEeoJ8ChPU7Br6C6kXdZEJLUvdXndaM7IklBBlfrAGrU44HQ99p6u3WQJ1mlKJ5Xr39f4L5Zts4jC9w9LtHvVxnubS+jaGV3oF+7Ku/YBXecfpa82uMALaDENeW9KgixnWvFyoE4Tkb1vQtn3wpYepDZKKeePX6r0y+OI7Ph0gotGtPt7F/EZTJR8x/mGbn4Grz88QnL5q3HNzGMZTqJ3lcDJRh2TRdlGAsBmphV+fvcG52V7cBcPONk2/WOel3WkYJ0Ejmt8t6vt5OHaED3w9QNMVq2Ts5gk5ZSjfGsCifyq0SUKAHebBNAx3RMXPd9NlzDQ/3jBKoR+gdoeURb7TmdWAQ=
Session
langdirection 	ltr
module_name 	endpoint
module_page 	endpoint
AMP_user 	ampuser Object ( [username] => admin [id] => [password:ampuser:private] => e8412600b6b01a6864fdf6cb59835dd096c29e74 [extension_high:ampuser:private] => [extension_low:ampuser:private] => [sections:ampuser:private] => Array ( [0] => * ) [mode:ampuser:private] => database [opmode:ampuser:private] => [_lastactivity] => 1535378416 )
Server/Request Data
SCRIPT_URL 	/admin/config.php
SCRIPT_URI 	http://freepbx.rmtohio.com/admin/config.php
HTACCESS 	on
HTTP_HOST 	freepbx.rmtohio.com
HTTP_USER_AGENT 	Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
HTTP_ACCEPT 	text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE 	en-US,en;q=0.5
HTTP_ACCEPT_ENCODING 	gzip, deflate
HTTP_REFERER 	http://freepbx.rmtohio.com/admin/config.php?display=endpoint&view=grandstream&template=general
CONTENT_TYPE 	application/x-www-form-urlencoded
CONTENT_LENGTH 	480
HTTP_COOKIE 	lang=en_US; searchHide=1; extensions-EPM.bs.table.searchText=1072; extensions-EPM.bs.table.pageNumber=1; extensions-EPM.bs.table.pageList=100; PHPSESSID=7ucevr7e6sco9d9n9bqgfb1mf0; ci_session=uN05mbdVnSFuE2VV2fnANNS7lawGjjdekMhjuiPy%2FlQwBos4KzlJdknUwp3geurLSvA%2FzZ2F5oOgDJ%2FEpEeoJ8ChPU7Br6C6kXdZEJLUvdXndaM7IklBBlfrAGrU44HQ99p6u3WQJ1mlKJ5Xr39f4L5Zts4jC9w9LtHvVxnubS%2BjaGV3oF%2B7Ku%2FYBXecfpa82uMALaDENeW9KgixnWvFyoE4Tkb1vQtn3wpYepDZKKeePX6r0y%2BOI7Ph0gotGtPt7F%2FEZTJR8x%2FmGbn4Grz88QnL5q3HNzGMZTqJ3lcDJRh2TRdlGAsBmphV%2BfvcG52V7cBcPONk2%2FWOel3WkYJ0Ejmt8t6vt5OHaED3w9QNMVq2Ts5gk5ZSjfGsCifyq0SUKAHebBNAx3RMXPd9NlzDQ%2F3jBKoR%2BgdoeURb7TmdWAQ%3D
HTTP_CONNECTION 	keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS 	1
PATH 	/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE 	<address>Apache/2.2.15 (CentOS) Server at freepbx.rmtohio.com Port 80</address>
SERVER_SOFTWARE 	Apache/2.2.15 (CentOS)
SERVER_NAME 	freepbx.rmtohio.com
SERVER_ADDR 	10.0.2.3
SERVER_PORT 	80
REMOTE_ADDR 	10.0.0.193
DOCUMENT_ROOT 	/var/www/html
SERVER_ADMIN 	[email protected]
SCRIPT_FILENAME 	/var/www/html/admin/config.php
REMOTE_PORT 	52324
GATEWAY_INTERFACE 	CGI/1.1
SERVER_PROTOCOL 	HTTP/1.1
REQUEST_METHOD 	POST
QUERY_STRING 	display=endpoint&view=grandstream&template=general
REQUEST_URI 	/admin/config.php?display=endpoint&view=grandstream&template=general
SCRIPT_NAME 	/admin/config.php
PHP_SELF 	/admin/config.php
REQUEST_TIME 	1535378416
Environment Variables empty
Registered Handlers
0. Whoops\Handler\PrettyPageHandler

Just ran into this right now, upgrade EPM to edge with:

fwconsole ma upgrade endpoint --edge

No crash anymore but all of my Grandstreams are stuck in a boot loop now.

Can I revert back to the old endpoint manager? Need to get my phones back online.

I doubt the EPM version is what is causing your boot loop, but your have stable repo selected in Advanced Settings, you can rollback to stable with:

fwconsole ma downloadinstall endpoint

I’m getting this exact same error. I’m reluctant to try the suggested fix because of the description of a boot loop. Can anyone confirm if this is indeed the correct fix and that I’m not going to break all of the Grandstream phones at the remote site I’m managing?

2 hours after I posted this, Sangoma pushed Endpoint Manager version 13.0.118.94. I can confirm that this version has fixed my problem. Thanks Sangoma!

1 Like

That would be cool. I had to take all of our Grandstreams out of the EPM to get them back online.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.