Project

General

Profile

Actions

Bug #80649

closed

Illegal string offset 'linkHandler.' - TYPO3 v 8.6.1

Added by Chris no-lastname-given about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2017-04-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #80883: Illegal string offset 'TCEMAIN.' in typo3/sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php line 34 Closed2017-04-19

Actions
Actions

Also available in: Atom PDF