How to add 404 page in OJS 3.0.2

I have recently upgraded from OJS 2.4.5 to 3.0.2

I want to add a 404 page, right now it throws a fatal error

I am using Bootstrap child theme

404 Not Found

Stack Trace:

File: /var/www/vhosts/sitename/lib/pkp/classes/core/PKPPageRouter.inc.php line 203
Function: Dispatcher->handle404()

File: /var/www/vhosts/sitename/lib/pkp/classes/core/Dispatcher.inc.php line 134
Function: PKPPageRouter->route(Object(Request))

File: /var/www/vhosts/sitename/lib/pkp/classes/core/PKPApplication.inc.php line 227
Function: Dispatcher->dispatch(Object(Request))

File: /var/www/vhosts/sitename/index.php line 68
Function: PKPApplication->execute()

I don’t think that OJS has a way of adding custom 404 pages, but you could do it with htaccess/php.ini settings: http://www.inmotionhosting.com/support/website/how-to/set-404-via-htaccess

I guess you could even use the static page plugin to create an error page and set that as the custom 404 page in the htaccess settings.

@ LaxMariappan, you can try this simple solution.