GithubHelp home page GithubHelp logo

Comments (7)

andycarrot avatar andycarrot commented on May 25, 2024 1

We have encountered the same issue. Within the past couple of days. We had no problems with this package, then all of a sudden we are seeing 'Serialization of Closure' errors at version 16.6.3. This has caused a MASSIVE issue in our business and has me working out of hours to resolve it.

Rolling back to v13.5.1 fixed this issue.

We do not have the spatie/laravel-sluggable package installed. So there is another cause of this bug, which was introduced in a recent version of the owen-it/laravel-auditing package.

from laravel-auditing.

MortenDHansen avatar MortenDHansen commented on May 25, 2024 1

Good idea. Sorry for the inconvenience!

from laravel-auditing.

ManuelLeiner avatar ManuelLeiner commented on May 25, 2024

My guess:

During creation this property is set on the Project model instance.
https://github.com/spatie/laravel-sluggable/blob/main/src/HasSlug.php#L28

The property contains the closure / callback set by extraScope.
https://github.com/spatie/laravel-sluggable/blob/main/src/SlugOptions.php#L123

from laravel-auditing.

parallels999 avatar parallels999 commented on May 25, 2024

I think you should ask that on spatie/laravel-sluggable, with that, the model is not serializable
spatie/laravel-sluggable#254

from laravel-auditing.

parallels999 avatar parallels999 commented on May 25, 2024

@andycarrot did you try #893

Also #884 (comment)

from laravel-auditing.

MortenDHansen avatar MortenDHansen commented on May 25, 2024

I have released 13.6.4 where the queue feature is disabled by default (as it should have been, sorry). I expect avoiding the serialization for queue should mitigate the problem. If not, let me know and stick to v13.5.1 in production.

from laravel-auditing.

andycarrot avatar andycarrot commented on May 25, 2024

Hi @parallels999 and @MortenDHansen, thanks for your respoonses. I will try setting queue = false. But I think i'll stick on 13.5.1 on prod until i know this has been safely resolved in a future release, to avoid this happening again.

from laravel-auditing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.