Issue Bug Closed

#80649Illegal string offset 'linkHandler.' - TYPO3 v 8.6.1

Chris no-lastname-given 04/03/17, 10:42 updated 06/22/17, 20:29

Description

Using the newly integrated linkhandler, a link to a news records throws the following error:

Core: Error handler (FE): PHP Warning: Illegal string offset 'linkHandler.' in /typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 6012

The link in the RTE looks like that:

<a href="t3://record?identifier=tx_news&amp;uid=11">Link</a>

The website does not show the link at all.

My page TSconfig:

TCEMAIN.linkHandler.tx_news {
handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
label = News
configuration {
table = tx_news_domain_model_news
storagePid = 1
hidePageTree = 1
}
scanBefore = page
}

My TYPOscrip setup:

config.recordLinks.tx_news {
forceLink = 0
typolink {
parameter = 2
additionalParams.data = field:uid
additionalParams.wrap = &tx_news_pi1[news]=|&tx_news_pi1[controller]=News&tx_news_pi1[action]=detail
useCacheHash = 1
}
}

So this is more or less the config, which was provided with Feature #79626

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.