Signature for Wikia::log is incorrect here.  Should be:

Wikia::log( __METHOD_NAME__, false, $msg);