Email from Cron Daemon every 5 minutes since last update

I did a module update this morning and since then, I get an email with the following content from Cron Daemon every 5 minutes:

Subject:

Cron asterisk@pbx /var/lib/asterisk/agi-bin/areminder-manager.php 2>&1 >/dev/null

Content:

PHP Notice: Undefined variable: amp_conf in /var/www/html/admin/libraries/view.functions.php on line 54
PHP Notice: Undefined variable: amp_conf in /var/www/html/admin/libraries/view.functions.php on line 61

I did a search in the forums and found a reference to disabling “Appointment Reminder”, which I just disabled and re"Apply Config"ged. That did not stop the emails.

I also attempted the following with no resolution:

amportal chown
amportal reload
amportal restart

The following is some of the output of “amportal a dbug” (note that this command did not complete after 45 minutes of execution, so, it’s been truncated).

[root@pbx ~]# amportal a dbug

Fetching FreePBX settings with gen_amp_conf.php…

trying to run as user asterisk:

[FPBXDBUGDISABLE] already set to [0]

==> /var/log/asterisk/freepbx_dbug <==

2015-Mar-20 09:48:27 /var/www/html/admin/libraries/view.functions.php:61
[NOTICE]: Undefined variable: amp_conf

2015-Mar-20 09:48:27 /var/www/html/admin/libraries/view.functions.php:54
[NOTICE]: Undefined variable: amp_conf

2015-Mar-20 09:48:27 /var/www/html/admin/libraries/view.functions.php:61
[NOTICE]: Undefined variable: amp_conf

==> /var/log/httpd/error_log <==
[Mon Mar 16 01:15:14 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 16 01:15:15 2015] [notice] Digest: generating secret for digest authentication …
[Mon Mar 16 01:15:15 2015] [notice] Digest: done
[Mon Mar 16 01:15:15 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.28 configured – resuming normal operations
[Wed Mar 18 05:30:12 2015] [notice] caught SIGTERM, shutting down
[Wed Mar 18 05:30:14 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 18 05:30:14 2015] [notice] Digest: generating secret for digest authentication …
[Wed Mar 18 05:30:14 2015] [notice] Digest: done
[Wed Mar 18 05:30:14 2015] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.28 configured – resuming normal operations
sh: amportal: command not found

==> /var/log/asterisk/freepbx.log <==
[2015-Mar-20 09:44:39] [INFO] (bin/freepbx_setting:64) - [FPBXDBUGDISABLE] already set to [0]
[2015-Mar-20 09:44:39] [INFO] (bin/freepbx_setting:65) -
[2015-Mar-20 09:47:59] [INFO] (bin/freepbx_setting:42) - trying to run as user asterisk:
[2015-Mar-20 09:47:59] [INFO] (bin/freepbx_setting:43) -
[2015-Mar-20 09:48:00] [INFO] (bin/freepbx_setting:64) - [FPBXDBUGDISABLE] already set to [0]
[2015-Mar-20 09:48:00] [INFO] (bin/freepbx_setting:65) -
[2015-Mar-20 09:48:27] [INFO] (bin/freepbx_setting:42) - trying to run as user asterisk:
[2015-Mar-20 09:48:27] [INFO] (bin/freepbx_setting:43) -
[2015-Mar-20 09:48:27] [INFO] (bin/freepbx_setting:64) - [FPBXDBUGDISABLE] already set to [0]
[2015-Mar-20 09:48:27] [INFO] (bin/freepbx_setting:65) -

==> /var/log/asterisk/freepbx_dbug <==
2015-Mar-20 09:49:00 /var/www/html/admin/libraries/view.functions.php:54
[NOTICE]: Undefined variable: amp_conf

2015-Mar-20 09:49:00 /var/www/html/admin/libraries/view.functions.php:61
[NOTICE]: Undefined variable: amp_conf

2015-Mar-20 09:49:02 /var/www/html/admin/libraries/view.functions.php:54
[NOTICE]: Undefined variable: amp_conf

2015-Mar-20 09:49:02 /var/www/html/admin/libraries/view.functions.php:61
[NOTICE]: Undefined variable: amp_conf

This should be resolved with the most recent framework module that was released. Please update framework and let me know if you are continuing to have issues.

That seems to have done the trick.

Thanks