[TYPO3-dam-devel] RFC #18057: Bug: Calling tx_dam::meta_putData($uid, $meta, $mode) ends with fatal error
Lorenz Ulrich
lorenz-typo3 at visol.ch
Tue Apr 26 14:04:33 CEST 2011
Hi everyone,
this is an SVN patch request.
Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=18057
Branches: trunk
Problem:
The Fatal error received when calling tx_dam::meta_putData is "Using
$this when not in object context". The reason is that the method
insertUpdateData from class tx_dam_db tries to access the attribute
"errorLog" (lines 361 and 365 "if (count($this->errorLog)) return false;").
Solution:
$errorLog is a variable in tx_dam, but in TCEmain, that's why the call
of $this->errorLog is wrong, it should be $tce->errorLog.
Best regards,
Lorenz
More information about the TYPO3-team-dam
mailing list