Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nette\InvalidStateException: Cannot send header after HTTP headers have been sent (output started at... #271

Open
ghost opened this issue Apr 14, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 14, 2016

Ak v komponente renderujem takto, všetko je OK:
$this->template->setFile('...');
$this->template->render();

Ale ak chcem vyrenderovať grid takto:
$this['grido']->render();

...grid sa sice zobrazi, ale JSON Response vyhodi pri zoradeni alebo strankovani Nette\InvalidStateException.

Pouzivam verziu 2.0.8.

@o5
Copy link
Owner

o5 commented Apr 28, 2016

@internetovaskola Divny, muzes to prosim zkusit s aktualnim masterem?

@o5 o5 added the DISCUSSION label Apr 28, 2016
@jirinapravnik
Copy link
Contributor

@o5 potvrzuji stejny problem i v aktuálním masteru. Staci si dat jen to reload tlacitko u vyhledat a tam mi to i napovi, kde je problem (o5\grido\src\Components\Actions\Action.php:245).

Staci udelat tedy obalovaci sablonu a funguje to ok, ale je to celkem zbytecne...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants