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

Can't be installed via zip archive #9

Open
michaelgrossklos opened this issue Oct 26, 2022 · 6 comments
Open

Can't be installed via zip archive #9

michaelgrossklos opened this issue Oct 26, 2022 · 6 comments

Comments

@michaelgrossklos
Copy link

The Plugin can't be installed via zip archive. The following error appears:

Error: Could not load WPGraphQL ACF Mutations. Please install the WPGraphQL ACF Mutations plugin via Composer.

composer install:prod

Wordpress: Version 6.0.3
Advanced Custom Fields PRO: Version 6.0.3
Advanced Custom Fields: Extended: Version 0.8.8.10
WP GraphQL: Version 1.12.0
WPGraphQL for Advanced Custom Fields: Version 0.5.3

@davidmadon
Copy link

davidmadon commented Oct 26, 2022

I just had the same issue but I got it working when I followed the install instructions haha ;)

You have to run composer install:prod inside of the plugin directory befor activating the plugin.

@michaelgrossklos
Copy link
Author

For me it doesn't https://share.cleanshot.com/0Qs3Yb.

Anyways, I can't use composer on the server I want to use this. So, at least in my opinion, a WP should be installable through a zip archive, because not everyone can or want use composer.

@davidmadon
Copy link

davidmadon commented Oct 26, 2022

Oh okey, I think PHP 8 or above will fix that error. It was just me not following the install instructions :P

Agreed! A release containing all dependancies would be good down the road. My uneducated guess is that this is an an "in-progress" release. (Just found the plugin myself)

@michaelgrossklos
Copy link
Author

You can't use PHP 8.x for Wordpress. Because many plugins do not run on Version 8. The errors light up like a Christmas tree, when changing to PHP 8.x. It's a big problem.

Yes, could be, that this is a work in progress. But the main branch on a software shouldn't be. It should be a stable version. Of course there can still be some bugs. But at least one should be able to install it.

I think I just have to wait until a version I can use is released. That happens from time to time. Not a big deal.

@davidmadon
Copy link

I hear you, some plugins won't play well yet.
On the other hand I'm running PHP 8.x on over 30 production sites on WP Engine without issues. Some of them with 20-30 plugins so I would say most major plugins do work.

Let's see, maybe I can squeeze in some time in my current project to contribute a bit to this plugin. Let's hope so.

@zngly-vlad
Copy link
Contributor

@michaelgrossklos I would suggest running composer install:prod on your own machine then transferring that way for the time being.

A release containing all dependancies would be good down the road. Currently the plugin is used internally Zngly and is still in active development.

Thank you for the feedback so far. Its been good to see people interested in the idea.

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

3 participants