I created a block and it is working fine, but when I upgrade the version this error will show up:
This page isn’t working
localhost is currently unable to handle this request.
HTTP ERROR 500
What is the problem?
Also, when I try to remove the block, it will show the same error again. I think there is an error in upgrading the moodle version any ideas how I can solve it please?