Issue Bug Rejected

#75805Call to a member function writelog() on a non-object

Franz Holzinger 04/20/16, 09:58 updated 05/28/16, 19:29

Description

The TYPO3 frontend causes an error message:

Fatal error: Call to a member function writelog() on a non-object in /server-path/typo3_src-6.2.17/typo3/sysext/core/Classes/DataHandling/DataHandler.php on line 7520

The object $this->BE_USER is not set.

public function log($table, $recuid, $action, $recpid, $error, $details, $details_nr = -1, $data = array(), $event_pid = -1, $NEWid = '') {
...

return $this->BE_USER->writelog($type, $action, $error, $details_nr, $details, $data, $table, $recuid, $recpid, $event_pid, $NEWid);

This happens occasionally. I will try to figure out the reason from where this is called.

Reviews 0

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