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

Cannot get Category Query to work #3

Open
lilbumblebear opened this issue Sep 29, 2022 · 0 comments
Open

Cannot get Category Query to work #3

lilbumblebear opened this issue Sep 29, 2022 · 0 comments

Comments

@lilbumblebear
Copy link

lilbumblebear commented Sep 29, 2022

When I tried the categories query, I get null for the mw_seo_category_data.

After spending time debugging I found that in:

mageworx/module-seoxtemplates-graph-ql/Model/Category/Products/CategoryDataFiller.php

these lines:

&& !empty($resolvedValue['categories'])
&& count($resolvedValue['categories']) === 1

$resolvedValue['categories'] is never set, so it cannot find the category information to return.

Magento v. 2.4.5

Please advise on the correct way to resolve this issue. 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

1 participant