# Whoops blank page

**URL:** <https://discourse.laminas.dev/t/whoops-blank-page/1351>\
**Category:** Mezzio\
**Created:** [January 31, 2020, 2:40pm UTC](https://discourse.laminas.dev/t/whoops-blank-page/1351 "2020-01-31T14:40:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfin](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@alfin](https://discourse.laminas.dev/u/alfin)\
**Post date:** [January 31, 2020, 2:40pm UTC](https://discourse.laminas.dev/t/whoops-blank-page/1351/1 "2020-01-31T14:40:27Z")

</div>

I just install new mezzio with command “composer create-project mezzio/mezzio-skeleton mezzio”. Everything run well and test homepage work correctly.

But when i try for error handling, edit file HomePageHandler.php and just erase a semicolon at a line code. I refresh my page and see blank page.

What happen, is there a bug or what… i don’t know…  
please help  
-alfin-

---

<div class="post-metadata">

**Author:** ![matthew](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/matthew/32/14_2.png) [@matthew](https://discourse.laminas.dev/u/matthew)\
**Post date:** [January 31, 2020, 2:43pm UTC](https://discourse.laminas.dev/t/whoops-blank-page/1351/2 "2020-01-31T14:43:08Z")

</div>

Whoops, and the error handling in Mezzio in general, can only handle exceptions and throwables. Parsing errors are beyond their scope (as PHP raises those differently).

---

<div class="post-metadata">

**Author:** ![samsonasik](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/samsonasik/32/777_2.png) [@samsonasik](https://discourse.laminas.dev/u/samsonasik)\
**Post date:** [February 1, 2020, 3:55pm UTC](https://discourse.laminas.dev/t/whoops-blank-page/1351/3 "2020-02-01T15:55:05Z")

</div>

I created ErrorHeroModule that can handle that via configuration for both mezzio and laminas mvc app: [https://github.com/samsonasik/ErrorHeroModule](https://github.com/samsonasik/ErrorHeroModule) , please read the readme
