Update Site.php

$config is sent as an empty array by default; handle that properly.