• Resolved mintynz

    (@mintynz)


    After upgrading from EE 4.10.46 to 5.0.24, trying to set a venue for an event is producing “error updating event”.

    In the console, I see a 404 for:

    https://DOMAIN/virtualclinic/graphql

    The WordPress installation sits in a “virtualclinic” subfolder (as can be seen in the url) – I’m wondering if the link to graphql is hardcoded into the EE plugin and so it’s not looking in the subfolder that it should be.

    Reverting to EE 4.10.46 (and its older UI with the Venue on the right side instead of in the main body) allows for updating the event as per usual.

    I’ve tried switching to the WordPress 2024 theme and deactivating ALL other plugins, and I still get the same error. I’ve then also tried php 7.4, 8.2, 8.3 and 8.4 – all produce the same error.

    What’s going on? Is it being in a subfolder that’s causing the issue?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tony Warwick

    (@pebblo)

    Hi there,

    We’ve had a couple of these reports with GraphQL when using a subdirectory, however, it also seems to depend on how WP was set up in a subdirectory. I don’t get a 404 error for GraphQL although I can reproduce the same symptoms only with an error 500 returned.

    We are currently investigating this and I just wanted to let you know that we’ve seen this thread.

    In the meantime there is an option within Decaf to change to the legacy editor which should allow you to update the event(s). Go to Event Espresso -> Events -> Default Settings (tab) and change the ‘Activate Advanced Editor?’ option to ‘Legacy Editor’.

    Thread Starter mintynz

    (@mintynz)

    Really appreciate the response, Tony. I am going to try and move it to the root folder (I didn’t do the original site setup, which was many many years ago) and will report back on that.

    Thread Starter mintynz

    (@mintynz)

    Hey @pebblo , quick update in case it’s useful:

    • Used the excellent “Better Search Replace” plugin to replace all database instances of the subdirectory.
    • Moved the files to hosting root with Siteground’s file manager
    • EE 5.0.24 now works fine… no graphql error

    Hope that helps with sorting other people dealing with similar issues!

    Plugin Author Tony Warwick

    (@pebblo)

    Thank you for posting the above, I’m glad you found a solution ??

    We’ve found the issue with the GraphQL requests and pushed an update out to fix this so subdirectories should work as expected in version 5.0.27+

    Any further issues just let us know.

    Thread Starter mintynz

    (@mintynz)

    Excellent – thanks @pebblo ! Hopefully this makes things better for everyone ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘graphql 404 error’ is closed to new replies.