Programming Assignment: Deep Neural Network - Application Error

I tried the code below and I followed it but the result was an error like this:

It looks like you found this thread. Did that answer the question for you? Or is this still a problem?

Thank you for your answer, sir @paulinpaloalto