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

[BUG] The argument is not iterable #2047

Closed
omgnull opened this issue Feb 14, 2014 · 1 comment
Closed

[BUG] The argument is not iterable #2047

omgnull opened this issue Feb 14, 2014 · 1 comment
Labels
bug A bug report status: medium Medium

Comments

@omgnull
Copy link

omgnull commented Feb 14, 2014

phalcon v1.2.6

php
win: 5.4.23 (php.exe -S localhost:8080)
deb: 5.4.4-14+deb7u7 (php-fpm)

PHP Fatal error: The argument is not iterable()
If headers are not set or not reseted before.

class IndexController extends \Phalcon\Mvc\Controller
{
    public function indexAction()
    {
        $this->view->disable();

        //$this->response->setHeader('Hello', 'World');
        //$this->response->resetHeaders();
        $this->response->getHeaders();

        return $this->response;
    }
}
@ghost
Copy link

ghost commented Feb 22, 2014

This has been fixed, could you please check?

@omgnull
Copy link
Author

omgnull commented Jul 3, 2014

Oops. My apologies.

@omgnull omgnull closed this as completed Jul 3, 2014
@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

2 participants