[TYPO3-english] Argument 1 passed to GeorgRinger\News\ must be a

TSniper masmoudi_moha at yahoo.fr
Thu Oct 5 17:35:10 CEST 2017


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


More information about the TYPO3-english mailing list