I am trying to run this cron import job but keep getting an error. It says the error is on line 40 but I am not seeing anything. I have changed several of the suggested items to only be returned with a new error. I need additional eyes on this.
else {
//** It seams cron service in CPanel works not like normal Linux Cron, so we have to emulate $argv */
$VERBOSE = true;
if (!empty($_REQUEST) && array_key_exists('do_xml_import',$_REQUEST)){
$argv = array_keys($_REQUEST);}
}
/** Need to at least have the do_xml_import argument */
Line 40 is actually the remComment, so I am sure the error is above it. This code is auto-generated by plugin that I am trying to work with.
I am including a link to the actual file as it is rather large.
Thanks for all the help!