OpenID
Log In | Register
Skip to main content
Topic: Scrip not running error_log created at directory root (Read 7164 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.
Scrip not running error_log created at directory root
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 261

Worth noting no errors are shown in the logs directory


Re: Scrip not running error_log created at directory root
Reply #2
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