Scrip not running error_log created at directory root December 28, 2021, 10:45:31 AM I've installed the scrip as outlined in the documentation and setup the 2 crons as outlined however the script generates an error every 10 mins.The error_log is located at the root of the script (same place the whmbackup.php file is located) and shows the following:(directory path has been changed below for privacy, the actual log shows the correct path)[28-Dec-2021 10:20:03 Europe/London] PHP Notice: Trying to access array offset on value of type bool in /home/user/directory/resources/functions.php on line 260[28-Dec-2021 10:20:03 Europe/London] PHP Notice: Trying to access array offset on value of type bool in /home/user/directory/resources/functions.php on line 261Worth noting no errors are shown in the logs directory
Re: Scrip not running error_log created at directory root Reply #1 – December 28, 2021, 01:26:18 PM Hi,What version of PHP are you running?
Re: Scrip not running error_log created at directory root Reply #2 – December 28, 2021, 04:20:51 PM Hi Pete, I'm running PHP 7.4.Since posting this, I removed both Cron Jobs and added them again which seems to have resolved the issue.Thanks, Steve
Re: Scrip not running error_log created at directory root Reply #3 – December 28, 2021, 09:48:14 PM I'm glad you sorted it. I'll take a look at the PHP notices asap.
Re: Scrip not running error_log created at directory root Reply #4 – December 30, 2021, 10:27:02 PM Hi,Please note I have just released V1.6 which resolves these notice issues.