Invalid params in call to Civi::log()->debug
The signature of Civi::log()->debug (see below) says that context should be an array.
/**
* Detailed debug information.
*
* @param string $message
* @param array $context
*
* @return void
*/
public function debug($message, array $context = array());
We were passing $out = false
which didn't seem to be adding much so I removed it.