This is a bit of code in one of my cron jobs : Lines 79 and 80.... PHP: $logInfo = "====== START MOVING THREADS ======"; XenForo_Helper_File::log('cron_moveSortedThreads',$logInfo, TRUE); For some reason it's throwing an error when the cron job runs : It's really bugging me. The variable has clearly been defined before use. The strange thing is, I also have the same two lines later on (closing the end of the log entry), which if I remove these two lines (to get the code to continue) they work! I'm running PHP 5.4.37 via AMPPS and Eclipse. I'm obviously running locally but I've just upgraded to macOS Beta (Latest one). I'm wondering if it's something to do with that?