slim-layout-view
slim-layout-view copied to clipboard
Always getting undefined variable $yield
I have a simple view and layout. The error is "Undefined varialble $yield"
Slim Application Error The application could not run because of the following error:
Details
Type: ErrorException Code: 8 Message: Undefined variable: yield File: /var/www/testes/proj2slim/application/Views/layout.php Line: 11
layout.php

home.php

Best regards rui
I'm not able to reproduce this, what does your route function look like?