Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Update AbstractSessionArrayStorage.php #105

Merged
merged 1 commit into from
Jan 31, 2018
Merged

Update AbstractSessionArrayStorage.php #105

merged 1 commit into from
Jan 31, 2018

Conversation

SilverioMiranda
Copy link
Contributor

@SilverioMiranda SilverioMiranda commented Jan 2, 2018

I dont know how to reproduce, i tried for two days to track where the session variable is set to 0 but i dont find it.
Maybe this is a memory problem, i cant guarantee

But this change fix the problem and i think that this need to be merged to help others with same problem like :

https://stackoverflow.com/questions/43901035/session-array-storage-in-zend-framework-2-throwing-warning

Provide a narrative description of what you are trying to accomplish:

  • Are you fixing a bug?

    • Detail how the bug is invoked currently.
    • Detail the original, incorrect behavior.
    • Detail the new, expected behavior.
    • Base your feature on the master branch, and submit against that branch.
    • Add a regression test that demonstrates the bug, and proves the fix.
    • Add a CHANGELOG.md entry for the fix.
  • Are you creating a new feature?

    • Why is the new feature needed? What purpose does it serve?
    • How will users use the new feature?
    • Base your feature on the develop branch, and submit against that branch.
    • Add only one feature per pull request; split multiple features over multiple pull requests
    • Add tests for the new feature.
    • Add documentation for the new feature.
    • Add a CHANGELOG.md entry for the new feature.
  • Is this related to quality assurance?

  • Is this related to documentation?

I dont know how to reproduce, i tried for two days to track where the session variable is set to 0 but i dont find it.
Maybe this is a memory problem, i cant guarantee

But this change fix the problem and i think that this need to be merged to help others with same problem like : 

https://stackoverflow.com/questions/43901035/session-array-storage-in-zend-framework-2-throwing-warning
@Ocramius
Copy link
Member

Ocramius commented Jan 2, 2018

This usually happens when loading/saving a session in a separate script that doesn't have a configured autoloader. Have you tried that?

weierophinney added a commit that referenced this pull request Jan 31, 2018
Update AbstractSessionArrayStorage.php
weierophinney added a commit that referenced this pull request Jan 31, 2018
weierophinney added a commit that referenced this pull request Jan 31, 2018
@weierophinney
Copy link
Member

Thanks, @SilverioMiranda

@weierophinney weierophinney merged commit b9767b9 into zendframework:master Jan 31, 2018
weierophinney added a commit that referenced this pull request Jan 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants