Error adding new page

I created a new library in the lib directory, on calling the page I received an error that something went wrong and Gibbon has escaped.
I removed all the codes and ran it with just a single line of echo statement, yet the error persisted.
Kindly assist with a pointer to what could be the cause.
Thank you

Hi Mfonnix, welcome to the Gibbon community!

It sounds like you’re working on some custom functionality, so the more details you share, the better we’ll be able to help you troubleshoot. Can you share the URL format you’re using, as well as an example of the code you’re trying to run, or screenshots if you have them. Also, an “oh no!” error can indicate either a malformed URL or a PHP error, be sure to check your PHP error logs and see if there’s anything in there that may indicate the cause of the error.