Git Product home page Git Product logo

Comments (10)

Log1x avatar Log1x commented on July 23, 2024

hmm strange. is it throwing an error?

from poet.

conradfuhrman avatar conradfuhrman commented on July 23, 2024

No explicit error, but when MediaPress is disabled everything works awesome. When it's enabled I did a var_dump on the collection chained methods and collapse returns an empty array rather than the proper response of the post types.

The method from MediaPress is slightly different so that's where my assumption lies with their class.

So technically it's a soft failure. Also this is a brand new Sage 10 project and MediaPress is currently the only plugin other than ACF.

from poet.

Log1x avatar Log1x commented on July 23, 2024

Confirmed the issue. Will try to push a fix tonight.

from poet.

conradfuhrman avatar conradfuhrman commented on July 23, 2024

That's amazing! Looking forward to seeing how you resolved it and thanks a ton for providing a fix.

from poet.

conradfuhrman avatar conradfuhrman commented on July 23, 2024

Going to test tonight the newest version 4.2.5 as it looks like a lot updated from MediaPress. Will let you know if the issue still persists.

from poet.

conradfuhrman avatar conradfuhrman commented on July 23, 2024

Tested with 4.2.5. Still have the same issue unfortunately.

from poet.

Log1x avatar Log1x commented on July 23, 2024

yeah. annoyingly they are autoloading helpers.php from their old Illuminate\Support\Collection and it's registering the collect() helper before Sage's. I fixed it on https://github.com/Log1x/poet/pull/16/files but it's not stable yet.

its likely for inconsistencies like this to show up elsewhere down the road unless they were to fix registering their custom collect in the global namespace.

from poet.

conradfuhrman avatar conradfuhrman commented on July 23, 2024

Gotcha. Anything I can do to help?

from poet.

Log1x avatar Log1x commented on July 23, 2024

If you have time to burn, feel free to try that PR so far. I will have to swing back around to it tonight – I honestly can't remember where I left off. :(

from poet.

conradfuhrman avatar conradfuhrman commented on July 23, 2024

Sounds good, I'll fork it and see what I come up with in the next day or two.

from poet.

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.