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

Serialized closure is not signed on Production Server #2251

Closed
jayakusumah opened this issue Jun 14, 2019 · 2 comments · Fixed by #2257
Closed

Serialized closure is not signed on Production Server #2251

jayakusumah opened this issue Jun 14, 2019 · 2 comments · Fixed by #2257

Comments

@jayakusumah
Copy link

jayakusumah commented Jun 14, 2019

[QUESTION].

Versions

  • PHP version: PHP 7.2.19-0ubuntu0.18.10.1
  • Laravel version: 5.7
  • Package version: 3.1

Description

I get this error when the queue export

local.ERROR: The serialized closure is not signed. Make sure you use a security provider for both serialization and unserialization
my code
(new MemberExport)->queue($fileName);

Work on local but error on server.

Additional Information

Just follow official documentation (queued export)

@GlennM
Copy link
Contributor

GlennM commented Jun 17, 2019

The fact that it works local, but not on production might be due to APP_DEBUG set to true.
See this comment on another package about a similar issue.

@patrickbrouwers
Copy link
Member

Hey @jayakusumah I can't really reproduce the issue, but reading different issues about the same error message I came to the following fix: #2257
Can you test if this fix works for your situation?

patrickbrouwers added a commit that referenced this issue Jun 19, 2019
* Ensure that opis always has the same security provider (#2251)
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

Successfully merging a pull request may close this issue.

3 participants