We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Phalcon\Session\Bag cannot be extends
To Reproduce
class Foo extends Phalcon\Session\Bag { } $foo = new Foo('bar');
Expected behavior After running this code has an error:
Fatal error: Uncaught RuntimeException: Trying to call method set on a non-object Stack trace: #0 [internal function]: Phalcon\Session\Bag->set('name', 'bar') #1 [internal function]: Phalcon\Collection->__set('name', 'bar') #2 test.php(14): Phalcon\Session\Bag->__construct('bar') #3 {main}
Details
The text was updated successfully, but these errors were encountered:
No problem here with version 4.1.0. Try to upgrade your Phalcon version.
Sorry, something went wrong.
Really it works in 4.1.0. Thank you.
No branches or pull requests
Describe the bug
Phalcon\Session\Bag cannot be extends
To Reproduce
Expected behavior
After running this code has an error:
Fatal error: Uncaught RuntimeException: Trying to call method set on a non-object
Stack trace:
#0 [internal function]: Phalcon\Session\Bag->set('name', 'bar')
#1 [internal function]: Phalcon\Collection->__set('name', 'bar')
#2 test.php(14): Phalcon\Session\Bag->__construct('bar')
#3 {main}
Details
The text was updated successfully, but these errors were encountered: