Comments (8)
Hey @omatheusant
What do you see in the network response?
An error message like the one you're receiving is usually an indication of a Fatal PHP Error happening somewhere else in WordPress (custom code, plugin), that is getting printed to the response instead of caught.
Any other information you can provide to help us debug and replicate would allow us to resolve this for you faster.
from wp-graphql.
@omatheusant Any chance you have WPML active? If so, maybe try the suggestion here: #1626 (comment)
from wp-graphql.
Hey @omatheusant
What do you see in the network response?
An error message like the one you're receiving is usually an indication of a Fatal PHP Error happening somewhere else in WordPress (custom code, plugin), that is getting printed to the response instead of caught.
Any other information you can provide to help us debug and replicate would allow us to resolve this for you faster.
I'm a kinda new to Wordpress. This appears in my network response:
<html>
<body>
<script type="text/javascript" src="/aes.js"></script>
<script>
function toNumbers(d) {
var e = [];
d.replace(/(..)/g, function(d) {
e.push(parseInt(d, 16))
});
return e
}
function toHex() {
for (var d = [], d = 1 == arguments.length && arguments[0].constructor == Array ? arguments[0] : arguments, e = "", f = 0; f < d.length; f++)
e += (16 > d[f] ? "0" : "") + d[f].toString(16);
return e.toLowerCase()
}
var a = toNumbers("f655ba9d09a112d4968c63579db590b4")
, b = toNumbers("98344c2eee86c3994890592585b49f80")
, c = toNumbers("935e6ea1c28b63c1ced7f4c257624e22");
document.cookie = "__test=" + toHex(slowAES.decrypt(c, 2, a, b)) + "; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/";
location.href = "http://matheusant.lovestoblog.com/index.php?graphql&i=1";
</script>
<noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript>
</body>
</html>
I dont know if is that, but in my headers, the Url request is ending with /index.php?graphql
, but i have change the permalinks and still the same.
from wp-graphql.
@omatheusant Any chance you have WPML active? If so, maybe try the suggestion here: #1626 (comment)
i'll check it out
from wp-graphql.
This appears in my network response.
That code looks to be a poor implementation of a robots mitigation script and not part of WordPress or WPGraphQL.
If you indeed disabled all other plugins like you indicated in the issue description, and it's not coming from custom code or your theme, then I suggest you contact your host and see how they change it so it only injects on actual frontend views and not API requests.
from wp-graphql.
(labeling as invalid
- this indeed is a real problem, it's just not something caused by or addressable in WPGraphQL's codebase. Leaving open for now)
from wp-graphql.
@omatheusant I'm able to visit your endpoint directly and query it: http://matheusant.lovestoblog.com/index.php?graphql&query={posts{nodes{id}}}
And I'm able to use the GraphiQL IDE Chrome Extension to query your endpoint as well:
Did you perhaps address the robots mitigation script that @justlevine pointed out? Or take some other action? Is the GraphiQL IDE in your WordPress Dashboard working now or are you still experiencing issues?
from wp-graphql.
@omatheusant I'm going to close this as it seems related to the environment and not WPGraphQL directly.
from wp-graphql.
Related Issues (20)
- v2.0 Roadmapping
- Missing avatar or icon in GraphQL IDE UI HOT 9
- Introduce actions/filters for the `register_graphql_admin_notice` API
- DX: Can't narrow down interface subtypes on an implementing object with `register_graphql_field()` HOT 2
- Add WordPress new `Site Icon` feature to generalSettings. HOT 2
- WPGraphql fetching duplicated nodes in Gatsby HOT 7
- Interface Recursion Issues HOT 7
- Open SSF Scorecard
- Arguments defined on Interface Fields are not inherited by the fields on the Implementing Object Type HOT 1
- Codegen issue in generating types: Interface field argument ProductWithPricing.price(format:) expected but GroupProduct.price does not provide it. HOT 4
- Node IDs not being tracked by the Query Analyzer when using DataLoader's `load_many()` method HOT 1
- Missing field argument lead to broken Documentation Explorer HOT 2
- Remove development-related files from SVN on release
- CoreTable column alignment returns null HOT 2
- Can't add mutation for urls gallery. HOT 1
- PostFormat is not set when Contribute/Author uses createPost or updatePost mutations HOT 3
- Settings page fails to load when "Enable GraphiQL IDE" setting is turned "off"
- Bug: graphql_get_setting_section_field_value filter params return different types than documented
- Deep Linking for WPGraphQL Settings pages
- Handle Bedrock and Similar Architecture HOT 2
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.