pristas-peter / wp-graphql-gutenberg

Query gutenberg blocks with wp-graphql
https://wp-graphql-gutenberg.netlify.app
GNU General Public License v3.0
299 stars 62 forks source link

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

Open sunilsingh2019 opened 1 year ago

sunilsingh2019 commented 1 year ago

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

pressoholics commented 1 year ago

@sunilsingh2019 Does this fix work for you as well?

https://github.com/pristas-peter/wp-graphql-gutenberg/pull/141

Dev-Ditrict-Web commented 1 year ago

I do get the same warnings.

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

Dev-Ditrict-Web commented 1 year ago

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 commented 1 year ago

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