Change Procfile
edit Procfile to app/webroooot
Edit app/Controller/PostsController.php
Add <?php to app/Controller/PostsController.php
Remove ?> in PostsController.php
Add } at the end of PostsController.php and add fatal_error.ctp file in app/View/Errors