in2code-de/instagram

TYPO3 10.4.13 Scheduler Error

Closed this issue · 5 comments

Die Ausführung von Task "Konsolenbefehle ausführen (scheduler)" ist fehlgeschlagen mit folgender Meldung: Task failed to execute successfully. Class: TYPO3\CMS\Scheduler\Task\ExecuteSchedulableCommandTask, UID: 8

Scheduler ausgeführt manuell und via crontab.
Andere Crons via "Konsolenbefehle ausführen (scheduler)" funktionieren bzw. werden ausgeführt.

TYPO3 10.4.13
Instagram 5.1.0
PHP 7.4

Error: "Field id specified more than once. This is only possible before version 2.1"

Where: /typo3conf/ext/instagram/Classes/Domain/Repository/InstagramRepository.php, line 141

Fix: Remove duplicate "id" and "username" from the fields-param

Is this fixed?

Or on other words. Did you change the code and this fixes the problem? If so, could you please provide a PR or write down here what you have changed?

This was already fixed on on Apr 13 with commit 02de2c9
I only told you how to fix. I did not change anything or create a branch. :)

You might want to add one of the two removed id's, if you plan on using it among the other fields. Also media is not used (anymore) as a field-param when fetching IG-media

Line 141 should be:
. '?fields=caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username,'

Ok, thx for the final feedback. At the moment I would let it as it is.
Greetings, Alex