Comments (10)
hmm strange. is it throwing an error?
from poet.
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.
Confirmed the issue. Will try to push a fix tonight.
from poet.
That's amazing! Looking forward to seeing how you resolved it and thanks a ton for providing a fix.
from poet.
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.
Tested with 4.2.5. Still have the same issue unfortunately.
from poet.
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.
Gotcha. Anything I can do to help?
from poet.
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.
Sounds good, I'll fork it and see what I come up with in the next day or two.
from poet.
Related Issues (20)
- Gutenberg Block Category
- I'm drafting something up
- WordPress 5.8 block_categories deprecated HOT 1
- Shouldn't add_filter be add_action? HOT 4
- Renaming default 'post' post_type HOT 3
- The custom block is not working HOT 4
- compatibility with acorn and sage 10 beta 3 HOT 1
- Unable to modify default 'category' taxonomy HOT 1
- $content is empty when the only content is an img HOT 2
- Unable to publish the config/poet.php HOT 1
- Registered block not available in block library HOT 5
- Translating post type label and slug HOT 18
- Manually publish HOT 2
- Query vars not working aside post_types archives pages HOT 1
- Register fields with WP GraphQL HOT 4
- Check pattern content before return pattern blade view
- Error including functions in config file HOT 2
- Can not register post type again when move code to server or pull code to another devices HOT 7
- Callback for custom fields in CPT HOT 2
- taxonomies defined by poet aren't available to acf-composer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poet.