retrieve_conf will not reload - error 255

I am running FreePBX 2.7.0.3 as part of an Elastix PBX. I went into the Freepbx gui to enable video phones, and when I tried to apply the configuration changes, I got the following message that the reload failed.

I posted this problem on the elastix forum as well, but have not found an answer. I am posting it here now since the error comes up in FreePBX.

Thank you in advance for your assistance. The message from the GUI is:

exit: 255

Checking for PEAR DB…OK
Checking for PEAR Console::Getopt…OK
Checking for /etc/amportal.conf …OK
Bootstrapping /etc/amportal.conf …OK
Parsing /etc/amportal.conf …OK
Parsing /etc/asterisk/asterisk.conf …OK
Connecting to database…OK
Connecting to Asterisk manager interface…OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = (redacted)
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = (redacted)
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 292
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 292
PHP Warning: array_keys(): The first argument should be an array in /var/www/html/admin/extensions.class.php on line 292
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/extensions.class.php on line 292