José Ricardo
2017-09-22 14:23:59 UTC
After upgrading grom 7.6.20 to 7.6.22 my inline records are not working
anymore, giving an error 500. On the logs I got this:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Unsupported
operand types | Error thrown in file
(...)/siteroot/typo3_src/typo3/sysext/backend/Classes/Utility/BackendUtility.php
in line 1555. Requested URL:
http://myproject.local/typo3/index.php?ajaxID=%2Fajax%2Frecord%2Finline%2Fcreate&ajaxToken=ac2fd0b0f142ec3d8440e1f8dc4fa743fb42db81
My inline TCA field:
'items' => [
'exclude' => 1,
'label' => $ll . 'tx_cwbase_domain_model_menu.items',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_cwbase_domain_model_menu_item',
'foreign_field' => 'menu',
'foreign_sortby' => 'sorting',
'maxitems' => 100,
'foreign_match_fields' => array(
'parent_item' => '0',
),
'appearance' => [
'collapseAll' => 1,
'expandSingle' => 1,
'levelLinksPosition' => 'bottom',
'useSortable' => true,
],
],
],
Is there anything wrong with my conf? Anyone passing through this? Any
clues how to resolve?
Cheers
--
José Ricardo
Líder Técnico
Desenvolvimento Backend
tel +55 71.3271.7646 *• * Skype *jr.convergence*
[image: Convergence Works] <http://www.cworks.com.br/> Rua Rubens Gueli,
Edf. Empresarial Itaigara, 134, sala 309
Itaigara, Salvador • BA • 41815-135 •
www.cworks.com.br • tel +55 71.3271.7646
Este e-mail e seus anexos são para uso exclusivo do destinatário e podem
conter informações confidenciais e/ou legalmente privilegiadas. Não podem
ser parcial ou totalmente reproduzidos sem o consentimento do autor.
Qualquer divulgação ou uso não autorizado deste e-mail ou seus anexos é
proibida. Se você receber esse e-mail por engano, por favor, notifique o
remetente e apague-o imediatamente.
This e-mail and its attachments are for the sole use of the addressee and
may contain information which is confidential and/or legally privileged.
Should not be partly or wholly reproduced without consent of the owner. Any
unauthorized use of disclosure of this e-mail or its attachments is
prohibited. If you receive this e-mail in error, please immediately delete
it and notify the sender by return e-mail.
anymore, giving an error 500. On the logs I got this:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: Unsupported
operand types | Error thrown in file
(...)/siteroot/typo3_src/typo3/sysext/backend/Classes/Utility/BackendUtility.php
in line 1555. Requested URL:
http://myproject.local/typo3/index.php?ajaxID=%2Fajax%2Frecord%2Finline%2Fcreate&ajaxToken=ac2fd0b0f142ec3d8440e1f8dc4fa743fb42db81
My inline TCA field:
'items' => [
'exclude' => 1,
'label' => $ll . 'tx_cwbase_domain_model_menu.items',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_cwbase_domain_model_menu_item',
'foreign_field' => 'menu',
'foreign_sortby' => 'sorting',
'maxitems' => 100,
'foreign_match_fields' => array(
'parent_item' => '0',
),
'appearance' => [
'collapseAll' => 1,
'expandSingle' => 1,
'levelLinksPosition' => 'bottom',
'useSortable' => true,
],
],
],
Is there anything wrong with my conf? Anyone passing through this? Any
clues how to resolve?
Cheers
--
José Ricardo
Líder Técnico
Desenvolvimento Backend
tel +55 71.3271.7646 *• * Skype *jr.convergence*
[image: Convergence Works] <http://www.cworks.com.br/> Rua Rubens Gueli,
Edf. Empresarial Itaigara, 134, sala 309
Itaigara, Salvador • BA • 41815-135 •
www.cworks.com.br • tel +55 71.3271.7646
Este e-mail e seus anexos são para uso exclusivo do destinatário e podem
conter informações confidenciais e/ou legalmente privilegiadas. Não podem
ser parcial ou totalmente reproduzidos sem o consentimento do autor.
Qualquer divulgação ou uso não autorizado deste e-mail ou seus anexos é
proibida. Se você receber esse e-mail por engano, por favor, notifique o
remetente e apague-o imediatamente.
This e-mail and its attachments are for the sole use of the addressee and
may contain information which is confidential and/or legally privileged.
Should not be partly or wholly reproduced without consent of the owner. Any
unauthorized use of disclosure of this e-mail or its attachments is
prohibited. If you receive this e-mail in error, please immediately delete
it and notify the sender by return e-mail.