Title: Parse Error
Last modified: November 19, 2020

---

# Parse Error

 *  Resolved [Asif Aziz](https://wordpress.org/support/users/asifaziz01/)
 * (@asifaziz01)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/parse-error-535/)
 * I am getting this error when I try to activate the plugin
 * **Parse error: syntax error, unexpected ‘)’ in /home/a\*\*\*\*in/public_html/
   wp-gatsby/apex/wp-content/plugins/wp-gatsby/src/Admin/Preview.php on line 169**
 * What may be the issue?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Jason Bahl](https://wordpress.org/support/users/jasonbahl/)
 * (@jasonbahl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/parse-error-535/#post-13731463)
 * [@asifaziz01](https://wordpress.org/support/users/asifaziz01/) what version of
   WordPress, PHP and WPGatsby are you using?
 * I believe this issue was resolved with this Pull Request: [https://github.com/gatsbyjs/wp-gatsby/pull/55](https://github.com/gatsbyjs/wp-gatsby/pull/55)
   and released as v0.6.1 on November 19.
 *  [lhtorres2015](https://wordpress.org/support/users/lhtorres2015/)
 * (@lhtorres2015)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/parse-error-535/#post-13762104)
 * I ugraded a few weeks ago and have been unable to build since then. I’ve upgraded
   all my Gatsby and WordPress related plugins but I keep getting the 404 error 
   below.
 * success open and validate gatsby-configs – 0.052s
    success load plugins – 1.774s
   success onPreInit – 0.039s success initialize cache – 0.015s success copy gatsby
   files – 0.069s success onPreBootstrap – 0.027s error gatsby-source-wordpress 
   Request failed with status code 404
 * GraphQL request to [https://wp-icrco.com/graphql](https://wp-icrco.com/graphql)
   failed.
 * Please ensure the following statements are true
    – your WordPress URL is correct
   in gatsby-config.js – your server is responding to requests – WPGraphQL and WPGatsby
   are installed in your WordPress backend not finished createSchemaCustomization–
   0.195s not finished gatsby-source-wordpress ensuring plugin requiremenst are 
   met – 0.189s
 *  Plugin Author [Jason Bahl](https://wordpress.org/support/users/jasonbahl/)
 * (@jasonbahl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/parse-error-535/#post-13762400)
 * [@lhtorres2015](https://wordpress.org/support/users/lhtorres2015/) I can’t visit
   your GraphQL api in a browser either. Can you confirm that is the correct URL
   to your GraphQL endpoint?
 *  Plugin Author [Jason Bahl](https://wordpress.org/support/users/jasonbahl/)
 * (@jasonbahl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/parse-error-535/#post-13762406)
 * [@lhtorres2015](https://wordpress.org/support/users/lhtorres2015/) it looks like
   it might be a permalink issue.
 * I can see your GraphQL endpoint here: [https://wp-icrco.com/?graphql](https://wp-icrco.com/?graphql)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Parse Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-gatsby/assets/icon-256x256.png?rev=2336725)
 * [WPGatsby](https://wordpress.org/plugins/wp-gatsby/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gatsby/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gatsby/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gatsby/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gatsby/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jason Bahl](https://wordpress.org/support/users/jasonbahl/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/parse-error-535/#post-13762406)
 * Status: resolved