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

Why am I receiving an Internal server error for the themeCustomization query path in my GraphQL operation? #21

Closed
mebron opened this issue Oct 26, 2024 · 9 comments
Assignees
Labels
help wanted Extra attention is needed Need To Verify

Comments

@mebron
Copy link

mebron commented Oct 26, 2024

[log]
EXCEPTION -> OperationException(linkException: null, graphqlErrors: [GraphQLError(message: Internal server error, locations: [ErrorLocation(line: 3, column: 3)], path: [themeCustomization], extensions: null)])

@mebron mebron changed the title Undefined array key "filters" error in HomePageQuery.php on line 100 in the Bagisto GraphQL API Why am I receiving an Internal server error for the themeCustomization query path in my GraphQL operation? Oct 26, 2024
@vivek-webkul
Copy link
Member

Hi @mebron,

Thank you for using Bagisto!

Could you please provide the complete query schema for theme customization, or share a short video demonstrating the issue? This will help us better understand your concerns.

Additionally, please let us know the versions of Bagisto and Headless you’re using.

Thanks!

@mebron
Copy link
Author

mebron commented Oct 28, 2024

Hi,

Thanks for reaching out!

I’m currently using Bagisto V 2.2.3, along with opensource-ecommerce-mobile-app v 2.2.2 and headless-ecommerce v 2.2.2. I’ve also customized the theme by cloning the default shop theme. However, an error occurs when I run 'flutter run'.

Thanks again for your assistance!

@mayank-webkul
Copy link
Collaborator

Hello @mebron

The Open Source E-commerce Mobile App v2.2.2 and Headless E-commerce v2.2.2 are not available for Bagisto v2.2.3. This may be the reason you're encountering this issue.

@mebron
Copy link
Author

mebron commented Oct 28, 2024

Hi,

I’ve downgraded Bagisto to V 2.2.2, but the same error persists. Please see the Laravel log for details on the error:

@mayank-webkul
Copy link
Collaborator

@mebron Could you please provide the complete query schema for theme customization?

@mebron
Copy link
Author

mebron commented Oct 28, 2024

Hi,

I didn't change any query schema for the theme customization; I only renamed the default shop theme as per the documentation.

Thank you!

@mayank-webkul
Copy link
Collaborator

mayank-webkul commented Oct 28, 2024

@mebron Ok, but please provide the query schema for this so that we can check.

@mebron
Copy link
Author

mebron commented Oct 28, 2024

Hi,

I’m new to Bagisto, so I’m not entirely sure how to retrieve the complete query schema details. Could you guide me on how to access or generate this schema information so I can share it with you?

Thanks for your patience!

@mayank-webkul
Copy link
Collaborator

Hi @mebron,

The issue has been resolved, and the PR has been merged into the main branch. You can now access the updated code.

PR Link: Headless Ecommerce PR #351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Need To Verify
Projects
None yet
Development

No branches or pull requests

3 participants