Comments (9)
Yeah, agree. We are not using the plugin from composer registry but with repositories field of composer.json, like so
"repositories": [
{
"type": "github",
"url": "https://github.com/wpengine/wp-graphql-content-blocks.git"
}
]
from wp-graphql-content-blocks.
The type:github can be a reason. But I guess my focus will be on "triggered sometimes". Yes, this happened only when I was trying to access the attributes of a paragraph block. Other times, it didn't throw any errors. Sorry, I should've mentioned it in the original comment.
Like
... on CoreParagraph {
attributes {
content
}
}
from wp-graphql-content-blocks.
Wanted to follow up here that 1.1.3 has been released with the Utilities
folder rename:
https://github.com/wpengine/wp-graphql-content-blocks/releases/tag/v1.1.3
from wp-graphql-content-blocks.
Here's how I'm fixing it at the moment.
"post-package-install": [
"cd wordpress/web/app/mu-plugins/wp-graphql-content-blocks/; mv ./includes/utilities ./includes/Utilities; composer dump-autoload -o"
]
from wp-graphql-content-blocks.
Hey @CherryGot thank you very much for the report.
How did you install this plugin? Did you used the releases option? I'm just using the latest zip file and I don't see any errors when enabling debug mode and by inspecting the error.log.
We also run integration tests as well so we don't experience issues with PHP Fatal errors.
We will provide a fix just in case since there is a difference in the filename casing.
from wp-graphql-content-blocks.
I used composer to install the plugin because we are using it to manager all our plugins, like so,
composer require wpengine/wp-graphql-content-blocks
and it installed the v1.1.1 as I can see in the lock file.
Although, the documentation did not mention it, the composer require worked just fine. But yeah, maybe it's one of those things that it was never tested for.
Anyways, thanks for the considering the change, it'd be huge help.
from wp-graphql-content-blocks.
Hey @CherryGot we don't register the plugin in composer registry for now. Maybe thats the issue.
from wp-graphql-content-blocks.
@CherryGot we're installing wp-graphql-content-blocks
as a vcs
composer repository, and other than the silly backend warning (since the vendor files are not included locally) I'm not seeing any errors regarding WPGraphQLHelpers
.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/wpengine/wp-graphql-content-blocks.git"
},
]
Could be that its type:github
specific, or could be the fatal warning is only triggered sometimes (e.g. on specific blocks).
from wp-graphql-content-blocks.
Just tested and debug.log
is clean. Hopefully type:vcs
will be a good workaround until the folder can get properly renamed 🤞
from wp-graphql-content-blocks.
Related Issues (20)
- Can I extend this to support GravityForms? HOT 2
- ${PostType}EditorBlock Interfaces are being registered and implemented with different names HOT 1
- Weird behaviour in queries made via Apollo Client HOT 2
- Downloading the plugin as a composer package does not contain the vendor directory and autoloads HOT 16
- Setup Content Block plugin updates through product info service HOT 1
- Revert CoreImageAttributes width field is of type String but it should be Float HOT 2
- Fix schema linter in Content Blocks repo
- Getting 500 error when using this plugin with WPGraphQL HOT 13
- CorePostTerms doesn't expose any way to ask for the terms HOT 9
- Content Blocks: Add configuration for running tests locally HOT 1
- Reusable block isn't resolved inside columns HOT 3
- CoreImage give wrong caption when lightbox is enable HOT 2
- Feature: Add support for Xpath selectors HOT 1
- Can't retrieve Core Navigation data HOT 1
- Upload Schema Artifact workflow fails to upload schema HOT 1
- CircleCI deploy fails due to restricted context
- Switch to new PHPCSStandards/PHP_CodeSniffer package HOT 1
- Submit plugin to WordPress.org
- Failure running getIntrospectionQuery - GraphiQL IDE Schema not loading HOT 3
- When activation plugin, got Fatal error: Uncaught Error: Class "EnforceSemVer\EnforceSemVer" not found
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 wp-graphql-content-blocks.