Error for token.php related to greeting tokens
I'm surprised you were able to get the "Update Greetings" scheduled job to run in cron; the UI specifically disallows enabling that job.  Did you turn it directly using SQL?  You may want to consider whether you really want that job enabled.

That aside - I'd put this line just above line 1470:

print_r(CRM_Utils_Array::value($key, $greetingToken), TRUE)


And see what you get when you run the cli command manually.