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

When plugin is activated, the whole compilation process freezes #226

Open
2 of 3 tasks
SvobodaTomas opened this issue Jul 15, 2024 · 1 comment
Open
2 of 3 tasks
Labels
needs: author response Pending information from the author

Comments

@SvobodaTomas
Copy link

SvobodaTomas commented Jul 15, 2024

Description

When i activate the WPGraphQL for ACF plugin i am not able to compile the project.

when i try to compile, it freezes at this step - ⠹ gatsby-source-wordpress ingest WPGraphQL schema

When i check logs, the wordpress gets requests and responds with 200, in the terminal it seems stuck, but when i look at the processes its in loop and still sends requests, but without the error.

Once i had a problem with czech characters, ščěšžřášíé etc. in label name. Now i removed all of them but the problem is still ongoing.

But when i disable the plugin, everything works fine.

Steps to reproduce

install the plugins
Install dependencies
Import ACF
gatsby develop

PHP or JSON export of the ACF Field Group(s)

acf-export-2024-07-15 (1).json

Additional context

No response

WPGraphQL Version

1.27.2

WPGraphQL For ACF Version

2.3.0

ACF (Advanced Custom Fields) Version. Free or Pro?

6.3.3 pro

WordPress Version

6.5.5

PHP Version

8.1.29

Additional enviornment details

  • WP GraphQL Theme Stylesheet - Version 0.1.1
  • WPGraphQL Blocks - Version 2.1.1
  • Nullify empty fields for ACF - Version 1.2.4
"dependencies": {
    "@webdeveducation/wp-block-tools": "^1.1.21",
    "autoprefixer": "^10.4.17",
    "gatsby": "^5.13.1",
    "gatsby-link": "^5.13.0",
    "gatsby-plugin-image": "^3.13.0",
    "gatsby-plugin-postcss": "^6.13.0",
    "gatsby-plugin-sharp": "^5.13.0",
    "gatsby-script": "^2.13.0",
    "gatsby-source-wordpress": "^7.13.1",
    "gatsby-transformer-sharp": "^5.13.0",
    "postcss": "^8.4.33",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "tailwindcss": "^3.4.1"
},

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.
@josephfusco
Copy link
Member

Hey @SvobodaTomas, how are things working outside of Gatsby?

Can you use the GraphiQL IDE in the WordPress dashboard and execute queries?

If WPGraphQL is working fine inside of wp-admin but not in the Gatsby environment, it could be a problem with Gatsby.

I would recommend trying to troubleshoot on the Gatsby side to figure out which queries are problematic, and see if you can reproduce outside of Gatsby. If you're able to give concrete steps to reproduce outside of Gatsby, then we have a better chance of being able to help. 🙌🏼

@josephfusco josephfusco added the needs: author response Pending information from the author label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs: author response Pending information from the author
Projects
None yet
Development

No branches or pull requests

2 participants