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

Not compatible with Bedrock Wordpress #40

Open
draxvint opened this issue Dec 13, 2023 · 0 comments
Open

Not compatible with Bedrock Wordpress #40

draxvint opened this issue Dec 13, 2023 · 0 comments

Comments

@draxvint
Copy link

I got error 500 after installing/activating the plugin.

[13-Dec-2023 09:38:41 UTC] PHP Warning:  require_once(/home3/fortixsy/public_html/web/app/mu-plugins/wp-graphql/vendor/webonyx/graphql-php/src/Error/ClientAware.php): Failed to open stream: No such file or directory in /home3/fortixsy/public_html/web/app/mu-plugins/wp-graphql-filter-query/wp-graphql-filter-query.php on line 27
[13-Dec-2023 09:38:41 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/home3/fortixsy/public_html/web/app/mu-plugins/wp-graphql/vendor/webonyx/graphql-php/src/Error/ClientAware.php' (include_path='.:/opt/alt/php82/usr/share/pear:/opt/alt/php82/usr/share/php:/usr/share/pear:/usr/share/php') in /home3/fortixsy/public_html/web/app/mu-plugins/wp-graphql-filter-query/wp-graphql-filter-query.php:27
Stack trace:
#0 /home3/fortixsy/public_html/vendor/roots/bedrock-autoloader/src/Autoloader.php(64): include_once()
#1 [internal function]: Roots\Bedrock\Autoloader::Roots\Bedrock\{closure}()
#2 /home3/fortixsy/public_html/vendor/roots/bedrock-autoloader/src/Autoloader.php(63): array_map()
#3 /home3/fortixsy/public_html/vendor/roots/bedrock-autoloader/src/Autoloader.php(51): Roots\Bedrock\Autoloader->loadPlugins()
#4 /home3/fortixsy/public_html/web/app/mu-plugins/bedrock-autoloader.php(15): Roots\Bedrock\Autoloader->__construct()
#5 /home3/fortixsy/public_html/web/wp/wp-settings.php(398): include_once('/home3/fortixsy...')
#6 /home3/fortixsy/public_html/web/wp-config.php(9): require_once('/home3/fortixsy...')
#7 /home3/fortixsy/public_html/web/wp/wp-load.php(55): require_once('/home3/fortixsy...')
#8 /home3/fortixsy/public_html/web/wp/wp-admin/admin.php(34): require_once('/home3/fortixsy...')
#9 /home3/fortixsy/public_html/web/wp/wp-admin/plugins.php(10): require_once('/home3/fortixsy...')
#10 {main}
  thrown in /home3/fortixsy/public_html/web/app/mu-plugins/wp-graphql-filter-query/wp-graphql-filter-query.php on line 27

Temporally i fixed with this:
require_once dirname( __DIR__ ) . '/../../../vendor/webonyx/graphql-php/src/Error/ClientAware.php';

Can you make compatible with botsh standard wordpress and Bedrock wordpress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant