• Resolved Asif Aziz

    (@asifaziz01)


    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

    (@jasonbahl)

    @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 and released as v0.6.1 on November 19.

    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 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

    (@jasonbahl)

    @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

    (@jasonbahl)

    @lhtorres2015 it looks like it might be a permalink issue.

    I can see your GraphQL endpoint here: https://wp-icrco.com/?graphql

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse Error’ is closed to new replies.