Comments (10)
@grahammtbr hah, thanks for testing so much, it's been a big help!
Do you mind sending through the intervention config for this one? Looks like the same error that was happening for the block editor under posts/pages.
from intervention.
Here's my config:
return [
'application' => [
'site' => [
'membership' => false,
'default-role' => 'editor',
'timezone' => 'America/Vancouver',
'date-format' => 'F j, Y',
'time-format' => 'g:i a',
'week-starts' => 'Sun',
],
'writing' => [
'emoji' => false,
],
'discussion' => [
'post.ping-flag' => false,
'post.ping-status' => false,
'post.comments' => false,
'avatars' => false,
],
'media' => [
'mimes.svg' => true,
],
],
'wp-admin.all' => [
'common.adminbar.wp',
'common.adminbar.comments',
'common.adminbar.user.howdy' => 'Hello,',
'common.adminbar.user.avatar',
'common.adminbar.user.profile',
'common.footer.credit' => 'Created for 900 Degrees Wood-Fired Pizza by AMT Marketing.',
'common.tabs.help',
'dashboard.home.welcome',
'dashboard.home.notices',
'dashboard.home.activity',
'dashboard.home.right-now',
'dashboard.home.recent-comments',
'dashboard.home.incoming-links',
'dashboard.home.plugins',
'dashboard.home.quick-draft',
'dashboard.home.drafts',
'dashboard.home.news',
'comments',
'comments.all',
'posts.title' => 'Blog',
'posts.all.title.page' => 'Blog Posts',
'posts.all.title.menu' => 'All Blog Posts',
'posts.item.trackbacks',
'posts.item.discussion',
'pages.item.discussion',
],
];
from intervention.
@grahammtbr , struggling to replicate this side. Have you got the latest version? This commit should have the fix.
from intervention.
Okay, I just realized that this only occurs on my local dev environment (docker, specifically 10up's docker). So not a true issue, but still odd.
from intervention.
from intervention.
Yes, commenting out “pages.item.discussion" removes the error.
from intervention.
from intervention.
I ended up re-working the block editor enqueue and adding in some checks to avoid enqueuing multiple times. 623bb1c
from intervention.
Hey, sorry for the late reply. I updated with the latest commit, and it fixed the issue. Thanks for that!
from intervention.
No problem! Thanks for always reporting and bringing to my attention. If you find anything else let me know!
from intervention.
Related Issues (20)
- Composer dependency incompatibilities with Sage 9 HOT 7
- Remove activate and deactivate actions when defining plugin state in config HOT 5
- Publish plugin to wordpress.org HOT 3
- [application.media] HOT 18
- Add support for WordPress code style/format/linting HOT 3
- Fatal error HOT 22
- [Featured Request] Additional Page Attribute Settings HOT 3
- Post types with "-" HOT 4
- Upgrade illuminate/collections HOT 2
- Settings to disable WP components
- Deprecated messages on PHP 8.2 HOT 1
- Sage 10 Support
- Trying to Update/deactivate the plugin crashes the site
- Plugin could not be activated because it triggered a fatal error HOT 3
- Noob trouble trying to get Intervention working. HOT 7
- Something goes wrong setting options / saving to database HOT 7
- Rename the master branch to main HOT 2
- Feature idea: add theme supports HOT 2
- Translatable labels HOT 2
- Setting timezone through intervention without setting it in the DB: new posts are scheduled HOT 4
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 intervention.