after a failed freepbx 13 upgrade.. AMPORTAL will not run. Below is the returned msg
# amportal
Fetching FreePBX settings with gen_amp_conf.php..
/usr/local/sbin/amportal: line 52: Whoops\Exception\ErrorException:: command not found
/var/lib/asterisk/bin/freepbx_engine: line 100: Whoops\Exception\ErrorException:: command not found
**** WARNING: ERROR IN CONFIGURATION ****
astrundir in '/etc/asterisk' is set to but the directory
does not exists. Attempting to create it with: 'mkdir -p '
mkdir: missing operand
Try `mkdir --help' for more information.
**** ERROR: COULD NOT CREATE ****
Attempt to execute 'mkdir -p ' failed with an exit code of 1
You must create this directory and the try again.