I was using a cron job and had to change the code on line 88 in spider.php
FROM
Code:
// echo $relative_script_path;
$relative_script_path = '..';
TO
Code:
// echo $relative_script_path;
$relative_script_path = '/home/username/www/phpdig';
It fixed the line 90 problem and the other lines in the warnings.