slim-layout-view icon indicating copy to clipboard operation
slim-layout-view copied to clipboard

Always getting undefined variable $yield

Open ghost opened this issue 12 years ago • 1 comments

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

layout

home.php

view

Best regards rui

ghost avatar Dec 11 '13 16:12 ghost

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

petebrowne avatar Dec 29 '13 00:12 petebrowne