Project

General

Profile

Actions

Bug #23446

closed

feedit: formsonopage-mode raises error: Call to undefined method stdClass::getDynNestedStack

Added by Björn Pedersen about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-08-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

trying to edit any content element with forms-on-page-mode raises an error:

Fatal error: Call to undefined method stdClass::getDynNestedStack() in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_tceforms_inline.php on line 247

(issue imported from #M15553)

Actions #1

Updated by Björn Pedersen about 14 years ago

This only affects records with IRRE-containing elements.

Actions #2

Updated by Ernesto Baschny almost 14 years ago

Is this still happenning and could you check if this also happens on 4.4? Do you have a test-extension available providing such a setup? Thanks!

Actions #3

Updated by Björn Pedersen almost 14 years ago

I recheck current trunk:
The problem still persists: it can be checked with frm2_newpm.

The call stack:

( ! ) Fatal error: Call to undefined method stdClass::getDynNestedStack() in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_tceforms_inline.php on line 250
Call Stack
  1. Time Memory Function Location
    1 0.0021 79432 {main}( ) ../index.php:0
    2 0.0041 234904 require( '/home/webmaster/frm2/typo3_src_svn/typo3/sysext/cms/tslib/index_ts.php' ) ../index.php:76
    3 2.6566 67861440 tslib_fe->INTincScript( ) ../index_ts.php:465
    4 2.6875 69763576 tslib_fe->INTincScript_process( ? ) ../class.tslib_fe.php:3191
    5 2.8017 70869564 tslib_cObj->USER( ?
    , ? ) ../class.tslib_fe.php:3252
    6 2.8019 70870128 tslib_content_User->render( ?
    ) ../class.tslib_content.php:923
    7 2.8024 70873252 tslib_cObj->callUserFunction( ?, ?, ? ) ../class.tslib_content_user.php:51
    8 2.8028 70878936 call_user_func_array ( ?
    , ? ) ../class.tslib_content.php:6348
    9 2.8028 70879216 tx_frm2newpm_pi1->main( ?
    , ? ) ../class.tslib_content.php:0
    10 2.8223 71440824 tx_frm2newpm_pi1->listView( ?
    , ? ) ../class.tx_frm2newpm_pi1.php:215
    11 2.8260 71443096 tx_frm2newpm_pi1->renderListView( ?
    , ?, ? ) ../class.tx_frm2newpm_pi1.php:374
    12 2.9169 71470212 tx_frm2newpm_pi1->RenderList( ?, ?, ? ) ../class.tx_frm2newpm_pi1.php:622
    13 2.9170 71470620 tx_frm2newpm_pi1->listData( ?
    , ? ) ../class.tx_frm2newpm_pi1.php:651
    14 2.9172 71476368 tx_frm2newpm_pi1->listDataPerson( ?
    ) ../class.tx_frm2newpm_pi1.php:926
    15 2.9429 71482124 tx_frm2newpm_pi1->getFieldContent( ? ) ../class.tx_frm2newpm_pi1.php:899
    16 2.9429 71482964 tx_frm2newpm_pi1->my_getEditPanel( ?
    , ?, ?, ? ) ../class.tx_frm2newpm_pi1.php:1158
    17 2.9440 71489532 tslib_cObj->editPanel( ?
    , ?, ?, ? ) ../class.tx_frm2newpm_pi1.php:1505
    18 2.9441 71489808 t3lib_frontendedit->displayEditPanel( ?
    , ?, ?, ? ) ../class.tslib_content.php:7760
    19 2.9462 71495760 tx_feedit_editpanel->editPanel( ?
    , ?, ?, ?, ?, ?, ?, ? ) ../class.t3lib_frontendedit.php:117
    20 2.9470 71512808 tx_feedit_editpanel->editContent( ?
    , ?, ?, ?, ?, ?, ?, ? ) ../class.tx_feedit_editpanel.php:88
    21 3.7615 74644812 t3lib_TCEforms->getMainFields( ?
    , ?, ? ) ../class.tx_feedit_editpanel.php:393
    22 3.8509 74695548 t3lib_TCEforms->getSingleField( ?, ?, ?, ?, ?, ?, ? ) ../class.t3lib_tceforms.php:547
    23 3.8515 74700900 t3lib_TCEforms->getSingleField_SW( ?
    , ?, ?, ? ) ../class.t3lib_tceforms.php:902
    24 3.8516 74701164 t3lib_TCEforms_inline->getSingleField_typeInline( ?
    , ?, ?, ??? ) ../class.t3lib_tceforms.php:1009

further analysis leads me to the conclusion, that the initializations done in
class.tceforms::initDefaultBEMode() are missing in FE context (never called by class.tx_feedit_editpanel->editContent(). If I add that call, the fatal error is gone.

But some javascript errors:

(inline is not defined)

and

Core: Error handler (FE): PHP Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_iconworks.php line 649

are raised. The design still looks like the old one.

Actions #4

Updated by Björn Pedersen almost 14 years ago

The followup-errors if calling initDefaultBEMode could be related to http://bugs.typo3.org/view.php?id=17435

Actions #6

Updated by Andreas Wolf over 13 years ago

Merged to master in 5c4f5d57656797080a32cd74b7b7dde610a1fbba.

Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF