How to resolve the 2 fatal errors below?

@crackwitz Here’s the second half of the output.