fresh install - Fix toArray() call on non-object

Fatal error: Call to a member function toArray() on a non-object in \app\engine\Application.php on line 113