Project

General

Profile

Actions

Bug #62501

closed

method is called statically despite not being declared static

Added by Frank Nägler about 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-10-27
Due date:
% Done:

100%

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

Description

For any kind of record created in list module, an exception is thrown on every first save:


Uncaught TYPO3 Exception
#1: PHP Runtime Deprecation Notice: Non-static method TYPO3\CMS\Backend\Form\Element\InlineElement::updateInlineView() should not be called statically, assuming $this from incompatible context in /Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sysext/backend/Classes/Controller/EditDocumentController.php line 382 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.

2 TYPO3\CMS\Core\Error\ErrorHandler::handleError(8192, "Non-static method TYPO3\CMS\Backend\Form\Element\I…atically, assuming $this from incompatible context", "/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sy…kend/Classes/Controller/EditDocumentController.php", 382, array)

/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:

00380:    if (count($tce->substNEWwithIDs_table)) {
00381:     // save the expanded/collapsed states for new inline records, if any

00382:     \TYPO3\CMS\Backend\Form\Element\InlineElement::updateInlineView($this->uc, $tce);

00383:     $newEditConf = array();
00384:     foreach ($this->editconf as $tableName => $tableCmds) {

1 TYPO3\CMS\Backend\Controller\EditDocumentController::processData()

/Volumes/GitWorkspace/TYPO3/typo3_src-git/typo3/alt_doc.php:

00033:  $formprotection = \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::get();
00034:  if ($formprotection->validateToken(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('formToken'), 'editRecord')) {

00035:   $editDocumentController->processData();

00036:  }
00037: }

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #63097: Deprecation Notice when creating a pageClosed2014-11-20

Actions
Actions

Also available in: Atom PDF