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

get shopify access scope error #108

Open
newit-thongdv opened this issue May 20, 2022 · 5 comments
Open

get shopify access scope error #108

newit-thongdv opened this issue May 20, 2022 · 5 comments

Comments

@newit-thongdv
Copy link

newit-thongdv commented May 20, 2022

Hi Team
I am using package "slince/shopify-api-php": "^3.0",
Today when i am re-install this package and try to get shopify access scope there are error occurs :

$client->getAccessScopeManager()->findAll();
=> Undefined offset: 16
image
When i debug this function then there is data from the response, but when going through the createMany function then an error occurred
=> I also checked package lock that is "version": "3.1.0"

@slince
Copy link
Owner

slince commented May 23, 2022

Hello

  1. Can you post your version now? using the following command.
composer show slince/shopify-api-php
  1. Post the data structure
    image

@newit-thongdv
Copy link
Author

newit-thongdv commented May 23, 2022

Hello

  1. Current version not error is "version": "3.0.3".
    When I re-install "slince/shopify-api-php": "^3.0" then the package upgrade to "version": "3.1.0"
    => When use "version": "3.1.0" i can't not get shopify access scope
  2. Data
    image

@slince
Copy link
Owner

slince commented May 24, 2022

There is no problem with the data structure. If you can get here, there should be no problem next; Did you encounter this error when obtaining other resources?

If you can, please post the original PHP error report and JMS version composer show jms/serializer

@newit-thongdv
Copy link
Author

Hi, Today i tried to install again and it worked well . i don't know why.
Last time I also tried to install many times with "version": "3.1.0", but it didn't work and other resources working well (EXv: shop , orders). so i has rollback to version "3.0.3".

Thank for your support.

@slince
Copy link
Owner

slince commented Jul 11, 2022

After upgrading, you can try to delete meta cache from your cache directory

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