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

QueryBuilder erroneous: Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAssociative() #11

Open
fischhasegbr opened this issue Feb 6, 2023 · 1 comment

Comments

@fischhasegbr
Copy link

Hallo dear developers,
many thanks for your work. I really would like to use your extension, but unfortunately I get an error running the scheduler with
Execute console commands (scheduler)
newsimporter:importnews

The error is:
Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAssociative()

I tried to chang ->fetchAssociative(); in ->fetchAll(); but thans an error appears in Line 121, because the array $firstRecord is empty.

newimport.jpg: settings of the feed
newimport.pdf: error message

Thank you for having a look
Martin

@fischhasegbr fischhasegbr changed the title QueryBuilder fehlerhaft: Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAssociative() QueryBuilder erroneous: Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAssociative() Feb 6, 2023
@fischhasegbr
Copy link
Author

Hallo,
seams nobody is interested in this, but we found out a few things:
This extension requires a DBAL Doctrine version 2.11.0 TYPO3 10.4 comes with DBAL 2.10.0. You can replace the vender/doctrine with https://github.com/doctrine/dbal/releases/tag/2.11.0 (This should not be happened becaurse the doctrine comes with the typo3-package)

Then this EXT runs untill the datetime-Value goes to EXT:news. The $value is a timestamp after strtotime (ExtractorService Line 163), but becomes a string on the way to "news/Classes/Domain/Service/NewsImportService.php". So the import breaks here.

The Image-Import does not work at all.
Thanks
Martin

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

0 participants