Project

General

Profile

Actions

Bug #49849

closed

Frontend timetracking - Do not try to pop an entry of a stack if it is empty

Added by Marcus Krause over 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-07-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

My log is flodded with

Core: Error handler (FE): PHP Warning: array_pop() expects parameter 1 to be array, null given in /path/to/t3lib/class.t3lib_timetrack.php line 177

The frontend timetracking tries to pop an entry of a stack even when the stack is empty.

Simple solution is to check the level of the stack first before doing operations on it.


Files

49849.diff (910 Bytes) 49849.diff Patch Marcus Krause, 2013-07-10 12:55
Actions #1

Updated by Marcus Krause over 11 years ago

Actions #2

Updated by Philipp Gampe over 11 years ago

  • Category set to Frontend
  • Status changed from New to Accepted
  • TYPO3 Version changed from 4.5 to 6.0
  • PHP Version set to 5.3
  • Complexity set to no-brainer

Can you please push the patch to gerrit: http://wiki.typo3.org/CWT

Actions #3

Updated by Mateusz Wojtuła almost 11 years ago

I tried to reproduce this bug in TYPO3 6.2 but I couldn't. Please add more information about it.

Actions #4

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Is Regression set to No

Hi Marcus,

can you reproduce this issue with latest version of TYPO3 (6.1.7 or 6.2.beta-5)?

Actions #5

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF