Yoast / Yoast-SEO-for-TYPO3

Yoast SEO plugin for TYPO3
Other
51 stars 56 forks source link

Too few arguments to function YoastSeoForTypo3\YoastSeo\Backend #547

Open Batman777 opened 1 year ago

Batman777 commented 1 year ago

Typo3 10.4.37 Updating from yoast_seo: 8.3.1 to 9.0.0 or Updating from yoast_seo: 8.3.1 to 9.0.1

As soon as I select a page I get the following error.

Screenshots

Screenshot_1

Hoped 9.0.1 would have solved the issue. But it seems to be something different.

RinyVT commented 1 year ago

Hi @Batman777,

Are you sure you flushed all the caches, through the Maintenance module or through CLI? This is a dependency injection issue and flushing the caches with the dropdown flush actions is not enough.

Batman777 commented 1 year ago

Sigh ... again a caching issue. Thank you very much @RinyVT This solved the issue!

RinyVT commented 1 year ago

Great! Glad it solved the issue.

GitCybers commented 1 year ago

I had the same problem. After flushing the caches with the adminmenu the typo3-backend and the frontend don't work anymore and I get this error on the white screen: Fatal error: Class YoastSeoForTypo3\YoastSeo\DataProviders\OrphanedContentDataProvider contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (YoastSeoForTypo3\YoastSeo\DataProviders\OverviewDataProviderInterface::getData) in /kunden/84737_51427/webseiten/kgsfrankenforst2/typo3conf/ext/yoast_seo/Classes/DataProviders/OrphanedContentDataProvider.php on line 14

RinyVT commented 1 year ago

Hi @GitCybers,

Are you sure you are on the latest version? Your error mentions a getData method but this method is nowhere to be found within the Classes/DataProviders directory.

The error also does not make sense because there is no abstract method within OrphanedContentDataProvider. Which PHP version are you on?

GitCybers commented 1 year ago

I installed 9.0.1 and got the first error. After flushing in backend ajax arrors in backend. Then I installed 8.3.1 and then I got the php error.

GitCybers commented 1 year ago

After deleting the entry for the extension in PackageStates.php and deleting the extension the frontend and the backend work again. Then I installed the extension 9.0.1 again and it works.