Issue Bug Closed

#70375PHP Warning: Illegal offset type in isset or empty in .../typo3/sysext/backend/Classes/Form/InlineRelatedRecordResolver.php line 233

Alex Kellner 10/05/15, 12:06 updated 04/27/16, 12:47

Description

Hi,

using TYPO3 7.5.0 with powermail 2.11.2 leads to an error in backend, while editing localized Form records (with related Page records via IRRE):

It seems that there are problems with IRRE “appearance” settings in TCA.
Disabling “showPossibleLocalizationRecords” and “showRemovedLocalizationRecords” in EXT:powermail/Configuration/TCA/tx_powermail_domain_model_forms.php prevents the warning:

...
'pages' => array(
    'exclude' => 0,
    'label' => 'LLL:EXT:powermail/Resources/Private/Langu
    'config' => array(
        'type' => 'inline',
        'foreign_table' => 'tx_powermail_domain_model_pag
        'foreign_table_where' =>
            'AND tx_powermail_domain_model_pages.deleted 
            and tx_powermail_domain_model_pages.sys_langu
        'foreign_field' => 'forms',
        'foreign_sortby' => 'sorting',
        'maxitems' => 10,
        'appearance' => array(
            'collapseAll' => 1,
            'expandSingle' => 1,
            'useSortable' => 1,
            'newRecordLinkAddTitle' => 1,
            'levelLinksPosition' => 'top',
            'showSynchronizationLink' => 0,
            'showAllLocalizationLink' => 1,
            //'showPossibleLocalizationRecords' => 1,
            //'showRemovedLocalizationRecords' => 1,
        ),
...

Is there something wrong with my TCA?

Reviews 0

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