GithubHelp home page GithubHelp logo

Comments (4)

bindlegirl avatar bindlegirl commented on August 16, 2024 1

@fgiannar or @darssen Could you take a look at this one?

from jetpack.

dd32 avatar dd32 commented on August 16, 2024 1

Unfortunately due to these being triggered in the delete action, I'm unable to inspect the data after the fact, and I haven't attempted to manually replicate it.
The logs I have access to don't include any stack traces other than what's shared either.

Technically #37817 would resolve it, but I don't necessarily think that's the best route forward, unless it's expected inputs that cause it. I don't think just removing the notice without understanding the cause is always the correct choice - sometimes it's "obvious" but this is one of those cases where it doesn't quite make sense why it's happening, and so, I'd personally err on the side of figuring that out instead.. even if it means the notice remains for months..

from jetpack.

darssen avatar darssen commented on August 16, 2024

Hi @dd32!

I see this looks to be happening for you when grunion_delete_old_spam is triggered by cron. I have not been able to replicate and even do some tests manually calling the function and deleting some posts have not incurred in the notice in my local server. If you could provide some more details on replicating or maybe get some error logs with the content of the args in filter_meta I'd appreciate it.

In any case, I have created #37817 which should take care of the issue by adding checks that ensure the array is well formed.

from jetpack.

darssen avatar darssen commented on August 16, 2024

Hi @dd32!

I agree with you about the solution not being the more elegant.

I did try to replicate without luck (Details here p1718270572657889-slack-C011BCGRMBR)

Would it be possible for you to add logs on filter_meta since in the summary you stated that you have seen the PHP notice often hit? This way we might be able to pinpoint the issue :)

from jetpack.

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.