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

fatal error on activation (back again with another issue) #18

Closed
paomosca opened this issue Mar 26, 2017 · 3 comments
Closed

fatal error on activation (back again with another issue) #18

paomosca opened this issue Mar 26, 2017 · 3 comments

Comments

@paomosca
Copy link

Hey! thanks for this plugin! unfortunately i cannot activate the plugin from wp admin when i try to activate:

Plugin could not be activated because it triggered a fatal error.

Fatal error: Class 'TheFold\WordPress\Dispatch' not found in /this/is/my/path/folder/bedrock/web/app/plugins/graphql-wp/index.php on line 21

it's the first time i'm using composer, so maybe i did some misconfiguration.

i installed bedrock as advised. then inside the main dir of the new project i did:
composer require mohiohio/graphql-wp

i can find the plugin correctly and the folders in vendor (thefold is all lowercase).

thanks for your help

@tim-field
Copy link
Owner

Hi, you must be using quite an old version of this plugin to have that requirement, new versions don't have that dependency at all.
Can you try upgrading to version 0.4.3 ?

@paomosca
Copy link
Author

ok apparently the problem is due to the PHP CLI version (5.4) on arvixe the 0.4.3 version has the min requirement of 5.6

thank you for support!

@paomosca
Copy link
Author

after updating the cli, I managed to update all the modules and now it works! thank you!!

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

2 participants