This line throws `PHP Fatal error:  Unsupported operand types in` during testing.