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

Plugin installation failed using TGMPA #546

Open
ramyareye opened this issue Sep 4, 2021 · 0 comments
Open

Plugin installation failed using TGMPA #546

ramyareye opened this issue Sep 4, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ramyareye
Copy link
Contributor

Describe the bug

I'm using this code in TGMPA installer

array(
    'name'      => 'WP GraphQL WooCommerce',
    'slug'      => 'wp-graphql-woocommerce',
    'source'    => 'https://github.com/wp-graphql/wp-graphql-woocommerce/releases/download/v0.10.3/wp-graphql-woocommerce.zip',    
    'required'  => true,
),

after installing I see this error:

Installing Plugin: WP GraphQL WooCommerce
Downloading installation package from https://github.com/wp-graphql/wp-graphql-woocommerce/releases/download/v0.10.3/wp-graphql-woocommerce.zip…

Unpacking the package…

Installing the plugin…

The remote plugin package consists of more than one file, but the files are not packaged in a folder. Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.

Plugin installation failed.

TGMPA v2.6.1
Return to Required Plugins Installer

Previously I was using
'source' => 'https://github.com/jasonbahl/wp-graphql-woocommerce/archive/refs/heads/master.zip',
and now
'source' => 'https://github.com/wp-graphql/wp-graphql-woocommerce/releases/download/v0.10.3/wp-graphql-woocommerce.zip',
doesn't work!

also installing it using wp-admin with downloaded zip works!

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://github.com/wp-graphql/wp-graphql-woocommerce/releases
  2. Download wp-graphql-woocommerce.zip from Assets of latest release
    or
  3. clone it from https://github.com/ramyareye/WP-Commerce-Source
@kidunot89 kidunot89 added bug Something isn't working help wanted Extra attention is needed labels Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants