Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Could not determine type of attribute "templateLock" in "CoreColumnBlockAttributes" #158

Open
sunilsingh2019 opened this issue Oct 2, 2022 · 4 comments

Comments

@sunilsingh2019
Copy link

sunilsingh2019 commented Oct 2, 2022

Warning: Could not determine type of attribute "templateLock" in "CoreColumnBlockAttributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreColumnBlockDeprecatedV1Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockAttributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV1Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV2Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV3Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV4Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV5Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV6Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV7Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV8Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV9Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockAttributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV1Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV2Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV3Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV4Attributes" in C:\xampp\htdocs\portfolio-sunil\web\app\plugins\wp-graphql-gutenberg\src\Schema\Types\BlockTypes.php on line 87
{"errors":[{"message":"GraphQL Request must include at least one of those two parameters: "query" or "queryId"","extensions":{"category":"request"}}],"extensions":{"debug":[]}}

image
image

@sunilsingh2019 sunilsingh2019 changed the title I am stuck with this error Warning: Could not determine type of attribute "templateLock" in "CoreColumnBlockAttributes" Oct 2, 2022
@pressoholics
Copy link

@sunilsingh2019 Does this fix work for you as well?

#141

@Dev-Ditrict-Web
Copy link

I do get the same warnings.

And I do not understand what we need to do to fix this warning.

@Dev-Ditrict-Web
Copy link

I did test on a WordPress clean install.
I have
Php 8.0
WordPress Version 6.2.2
WPGraphQL 1.14.7
Advanced Custom Fields PRO 6.14.0
WP GraphQL Gutenberg 0.4.1
WPGraphQL for Advanced Custom Fields 0.6.1

I see no errors. Everything is good.

On another site which has a lot of content.
I have
Php 8.0
WordPress Version 6.2.2
WPGraphQL 1.14.7
Advanced Custom Fields PRO 6.14.0
WP GraphQL Gutenberg 0.4.1
WPGraphQL for Advanced Custom Fields 0.6.1

And I see all thoses errors: I the acf group field page or in the debuglog

Deprecated: La fonction WPGraphQL\Connection\PostObjects::get_connection_args est obsolète depuis la version 1.13.0 ! Utilisez \WPGraphQL\Type\Connection\PostObjects::get_connection_args à la place. in /var/www/html/wp-includes/functions.php on line 5413

Warning: Could not determine type of attribute "templateLock" in "CoreColumnBlockAttributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreColumnBlockDeprecatedV1Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockAttributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV1Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV2Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV3Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV4Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV5Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV6Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV7Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV8Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV9Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreCoverBlockDeprecatedV10Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockAttributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV1Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV2Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV3Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV4Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

Warning: Could not determine type of attribute "templateLock" in "CoreGroupBlockDeprecatedV5Attributes" in /var/www/html/wp-content/plugins/wp-graphql-gutenberg/src/Schema/Types/BlockTypes.php on line 88

@Dev-Ditrict-Web
Copy link

My mistake it does get output in the debug.log on the WPClean install with just

Php 8.0
WordPress Version 6.2.2
WPGraphQL 1.14.7
Advanced Custom Fields PRO 6.14.0
WP GraphQL Gutenberg 0.4.1
WPGraphQL for Advanced Custom Fields 0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants