fnagel / t3extblog

A record based blog extension for TYPO3 CMS. Easy to use and packed with features (incl. comments, subscriptions for comments and posts, Wordpress like subscription manager, reasonable email sending in FE and BE, GDPR ready, BE modules, Dashboard widgets, RSS, Sitemap, ...). Flexible and powerful!
http://typo3.org/extensions/repository/view/t3extblog
GNU General Public License v2.0
32 stars 18 forks source link

Invalid service "dashboard.widget.t3extblog.latestPosts": class "TYPO3\CMS\Dashboard\Widgets\ListWidget" does not exist. #228

Closed julian-angermaier closed 4 years ago

julian-angermaier commented 4 years ago

TYPO3 10.4.3 After installing it crashed my backend. Installtool gave me this message in "check for broken extensions"

(1/1) Symfony\Component\DependencyInjection\Exception\RuntimeException Invalid service "dashboard.widget.t3extblog.latestPosts": class "TYPO3\CMS\Dashboard\Widgets\ListWidget" does not exist.

Is this a general problem? it seems like the integration changed: https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.4/Breaking-90660-RegistrationOfWidgetsChanged.html

Thank You

fnagel commented 4 years ago

Which version of t3extblog are you using? Did you update the extension or TYPO3?

Probably some cache related stuff as the mentioned breaking change has been adapted for the extension, see this commit: https://github.com/fnagel/t3extblog/commit/77ae7aa70cf92284294f6d0d38173acfd87629a5

The "latestPosts" widgets works for me in multiple installations: image

fnagel commented 4 years ago

Please try clearing the cache in the "maintenance module" and try to remove and add the widgets from the dashboard.

julian-angermaier commented 4 years ago

I got a fresh installed 6.0.0 and TYPO3 Installation too. It crashes my backend. Clearing cache via Installtool returns 500 and database compare shows this message. Bildschirmfoto 2020-05-26 um 15 25 39

fnagel commented 4 years ago

Just checked the yaml configuration keys and the related classes again. Looks good.

Did you install the core extension EXT:dashboard? See https://packagist.org/packages/typo3/cms-dashboard

julian-angermaier commented 4 years ago

Thank You, EXT:dashboard fixed the "problem". A dependency to this extension would be good :)

fnagel commented 4 years ago

Nice! Yeah, it's in the "suggest" part of composer (https://github.com/fnagel/t3extblog/blob/master/composer.json#L47), but it seems this needs a proper fix. Not sure how, but I hope to get some helpful replies here: https://twitter.com/felixnagel/status/1265662692603367428

fnagel commented 4 years ago

Created a ticket here: https://forge.typo3.org/issues/91531