Discussion:
[TYPO3-english] Argument 1 passed to GeorgRinger\News\ must be a
TSniper
2017-10-05 15:35:10 UTC
Permalink
Hi,

I have inserted a news plugin by using typoscript but i get this error:

Argument 1 passed to GeorgRinger\News\ViewHelpers\ExcludeDisplayedNewsViewHelper::render() must be an instance of GeorgRinger\News\Domain\Model\News, null given

lib.news = USER
lib.news {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = Pi1
extensionName = News
vendorName = GeorgRinger
settings =< plugin.tx_news.settings
settings {
#detailPid = {$pid.news.detail}
pidDetailFromCategories = 1
excludeAlreadyDisplayedNews = 1
categories = 53
categoryConjunction = or

}
persistence =< plugin.tx_news.persistence
view =< plugin.tx_news.view

}
i have added this multiple times on the same page but i select a different category each time. how can i resolve this error ?

thanks for any help

Loading...