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

Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative() #285

Closed
slymbo opened this issue May 11, 2021 · 1 comment

Comments

@slymbo
Copy link

slymbo commented May 11, 2021

pxa_product_manager_10 (v10_alpha) branch

https://github.com/pixelant/pxa_product_manager/tree/v10_alpha

The problem the current versions of Typo3 "10.x" didn't support the new version of doctrine.

It's better if you replace the current function fetchAllAssociative() with the old one fetchAll() .

This is the list of function using fetchAllAssociative()

protected function fetchDuplicateAttributeValues()
public static function findAttributeOptions(int $attributeId, string $selectFields = '*')
protected function fetchDuplicateAttributeValues()
protected function fetchAttributeValueData(int $attribute, int $product)
protected function fetchMissingChildRelations()
@pixelmatseriks
Copy link
Member

Hi, thanks for taking the time to report this issue.
What version of doctrine/dbal do you have?
If I change to fetchAll(), I get a deprecation notice "@deprecated Use fetchAllNumeric(), fetchAllAssociative() or fetchFirstColumn() instead."

@slymbo slymbo closed this as completed Jan 3, 2022
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