AxeWP / wp-graphql-gravity-forms

GraphQL API for interacting with Gravity Forms.
GNU General Public License v3.0
165 stars 29 forks source link

plugin doesnt use top level vendor folder #439

Closed cvanh closed 3 months ago

cvanh commented 5 months ago

Description

in version 0.13.0 the vendor folder was removed from wp-graphql-gravity-forms and asked developers to download a zip file or run composer install in the plugin folder.

when installing the plugin using git and packagist the following error appeared image

Steps to reproduce

  1. install bedrock
  2. run composer require harness-software/wp-graphql-gravity-forms in the bedrock project
  3. setup bedrock
  4. enable wp-graphql-gravity-forms

Additional context

this was discussed in: https://discord.com/channels/838854618406453300/1257299915655217153

Plugin Version

0.13.0

Gravity Forms Version

2.8.7

WordPress Version

6.3.1

WPGraphQL Version

1.27.0

Additional enviornmental details

No response

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

Please confirm that you have disabled ALL plugins except for Gravity Forms, WPGraphQL, and WPGraphQL for Gravity Forms

pseelinger commented 4 months ago

I added the WPGRAPHQL_GF_AUTOLOAD constant to my environment with a value of false, which seems to have fixed this for me. If I'm reading src/Autloader.php correctly, this tells the plugin that autoloading is handled elsewhere in the application.