Php warning

I got this trying to reload my conf. I’m not very experienced in pbx systems, so idiot proof methods are very appreciated.

exit: 20
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

PHP Warning: Invalid argument supplied for foreach() in /var/www/html/admin/modules/dahdiconfig/ on line 767
Aborting reload because extension conflicts or bad destinations
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.