Describe the bug
Due to this line "thow new error" this will cause a the entire page to crash if the "author" page does not exist. changing this function to simply output a log will solve this issue.
Expected behavior
I expect users to not have to be faced with the error threw their screen but instead simply logged in the console
Describe the bug Due to this line "thow new error" this will cause a the entire page to crash if the "author" page does not exist. changing this function to simply output a log will solve this issue.
Expected behavior I expect users to not have to be faced with the error threw their screen but instead simply logged in the console