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

Gettext adapter constructor error with Phalcon 2.1.X #11760

Closed
Gamblt opened this issue May 7, 2016 · 1 comment
Closed

Gettext adapter constructor error with Phalcon 2.1.X #11760

Gamblt opened this issue May 7, 2016 · 1 comment

Comments

@Gamblt
Copy link

Gamblt commented May 7, 2016

The same #11429 issue in 2.1.x branch.

[error] 6164#6164: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to private method Phalcon\Translate\Adapter\Gettext::getoptionsdefault() from context 'MyProject\Components\Translate' in /home/gambit/repos/MyProject/app/components/Translate.php:51
Stack trace:
#0 [internal function]: Phalcon\Translate\Adapter\Gettext->prepareOptions(Array)
#1 /home/gambit/repos/MyProject/app/components/Translate.php(51): Phalcon\Translate\Adapter\Gettext->__construct(Array)
#2 /home/gambit/repos/MyProject/app/Bootstrap.php(158): MyProject\Components\Translate->__construct(Object(Phalcon\Config))
#3 /home/gambit/repos/MyProject/public/index.php(15): MyProject\Bootstrap->run()
#4 {main}
@sergeyklay
Copy link
Contributor

Could you please check the 2.1.x branch?

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

No branches or pull requests

2 participants