PHP Notices from cron job

Question:

PHP Notices from cron job

Answer:

If you are receiving PHP notices like:

PHP Notice: Constant TEMP_DIR already defined in /home/host/public_html/conf/conf.inc.php on line 10
PHP Notice: Constant CHECKEXISTS_ACCOUNT_CACHE already defined in /home/host/public_html/conf/conf.inc.php on line 17
PHP Notice: Constant CHECKEXISTS_DB_ONLY already defined in /home/host/public_html/conf/conf.inc.php on line 23
PHP Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in /home/host/public_html/includes/sql.php on line 915
PHP Notice: Use of undefined constant DB_USER - assumed 'DB_USER' in /home/host/public_html/includes/sql.php on line 915
PHP Notice: Use of undefined constant DB_PASS - assumed 'DB_PASS' in /home/host/public_html/includes/sql.php on line 915
PHP Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in /home/host/public_html/includes/sql.php on line 915
PHP Notice: Use of undefined constant TBL_CAT - assumed 'TBL_CAT' in /home/host/public_html/includes/sql.php on line 915
PHP Notice: Use of undefined constant KEY_NAMES - assumed 'KEY_NAMES' in /home/host/public_html/includes/sql.php on line 915
PHP Notice: Undefined index: settings in /home/host/public_html/includes/functions.php on line 12

As noted in the output, those are notices, not errors. You can either ignore them (since they're not errors, they don't hurt anything) or you can update your php.ini file to suppress notices (which is the default configuration for PHP).