These plugins gave Internal Error 500 while trying to import media files. There is definitely some issue with your plugin.
Deactivating wp-graphql-yoast-seo solved the problem.
I know that your plugin is not tested with the latest WordPress.
WordPress 6.4.3
WP All Import Version 4.8.6-beta-2.2
WP All Import – ACF Add-On Version 3.3.9-beta-2.2
Media Sync Version:1.4.1
Hello,
fullHead
?seo
for a specific type, eg MediaItem
?I have the following query:
query GetSeoRedirects {
seo {
redirects {
origin
target
type
}
}
}
This used to work but it recently started to display “Internal Server Error”.
“errors”: [
{
“message”: “Internal server error”,
“extensions”: {
“category”: “internal”
},
“locations”: [
{
“line”: 2,
“column”: 3
}
],
“path”: [
“seo”
]
}
],
I have the latest version of this plugin (4.22.2) and have Yoast SEO v20.8, Yoast SEO Premium v20.8, Yoast SEO: News v13.1. Any help would be appreciated!
Sorry I had not checked the github page, where clearly says:
“Please note canonicals will not be returned if you have the discourage search engines option turned on in your WordPress settings.”
——
As a previous user mentioned I’m receiving an empty string for the canonical field. The rest of the fields return the correct data with this exception.
]]>Hello,
How can we get yoast seo analysis for a draft post using this plugin.
Thanks,
Yavuz
Hey there! We are using your plugin for a Gatsby.js build. Everything is working fine, except the canonical
value. This seems to be happening for both pages and posts; despite adding a value, the value never shows in the graphql data.
"seo": {
"canonical": ""
]]>
Some queries will error out when attempting to access data. Here’s one error message that shows immediately on fresh activation of Yoast and this plugin:
“debugMessage”: “Undefined array key \”bctitle-archive-wpseo\””,
If I add an isset()
check for that property, it then fails on:
$userID = $all['company_or_person_user_id'];
$user = get_userdata($userID);
This is because the default value for ‘company_or_person_user_id’ is (seemingly) false, which makes $user false (and later you attempt to access properties off of it).
“Attempt to read property \”user_nicename\” on bool”
Let me know what you think.
]]>Hey,
I see your websites and your Github,
You look very very professional,
but this explanation of what the plugin does is not clear.
I was happy to hear what is this plugin and how to work with him,
maybe change your main page in WordPress and explain more what the plugin actually does?
and if have some auto mode the plugin offers to amplify the SEO?
I was wanted to hear what this thing has to offer.
I see your stuff, you not a regular developer, you something special.
your site is amazing (i even checked him, no one error and good on-page speed google)
I don’t know what you build, but you have something good here.
please explain on your plugin if you can.
When using this with Gatsby on two different sites I’m getting an internal server error. In WP Graphql I have Enable GraphQL Debug Mode enabled so on both sites in the graphiql ide when I do this query:
query MyQuery {
posts {
nodes {
seo {
title
}
}
}
}
I get this error: Argument 1 passed to WPGraphQL\\Data\\DataSource::resolve_post_object() must be of the type int, string given, called in (my site’s path)/wp-content/plugins/wp-graphql-yoast-seo-3.0.1/wp-graphql-yoast-seo.php on line 75.
The error I see on https://localhost:8000/__graphql is:
{
“message”: “Internal server error”,
“locations”: [
{
“line”: 5,
“column”: 9
}
],
“path”: [
“wpgraphql”,
“posts”,
“nodes”,
0,
“seo”
],
“extensions”: {
“category”: “internal”
},
“stack”: [
“GraphQLError: Internal server error”,
” at Object.relocatedError (/Users/Ashley/Documents/mmk-gatsby/dist/utils/src/errors.js:4:12)”,
” at handleNull (/Users/Ashley/Documents/mmk-gatsby/node_modules/gatsby-source-graphql/dist/delegate/src/results/handleNull.js:11:43)”,
” at handleResult (/Users/Ashley/Documents/mmk-gatsby/node_modules/gatsby-source-graphql/dist/delegate/src/results/handleResult.js:8:16)”,
” at resolver (/Users/Ashley/Documents/mmk-gatsby/node_modules/gatsby-source-graphql/dist/delegate/src/defaultMergedResolver.js:24:12)”,
” at resolver (/Users/Ashley/Documents/mmk-gatsby/node_modules/gatsby/src/schema/resolvers.ts:518:14)”,
” at wrappedTracingResolver (/Users/Ashley/Documents/mmk-gatsby/node_modules/gatsby/src/schema/resolvers.ts:518:14)”,
” at resolveFieldValueOrError (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:467:18)”,
” at resolveField (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:434:16)”,
” at executeFields (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:275:18)”,
” at collectAndExecuteSubfields (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:713:10)”,
” at completeObjectValue (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:703:10)”,
” at completeValue (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:591:12)”,
” at completeValueCatchingError (/Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:495:19)”,
” at /Users/Ashley/Documents/mmk-gatsby/node_modules/graphql/execution/execute.js:618:25″,
” at Array.forEach (<anonymous>)”,
” at forEach (/Users/Ashley/Documents/mmk-gatsby/node_modules/iterall/index.js:83:25)”
]
}