Loading...
 
Skip to main content

COUNTDOWN plugin breaks its users with undefined getDate error on PHP >=5.1

Status
Closed
Subject
COUNTDOWN plugin breaks its users with undefined getDate error on PHP >=5.1
Version
4.x
Category
  • Error
  • Regression
Feature
Wiki Plugin (extends basic syntax)
Date and Time
Submitted by
Philippe Cloutier
Volunteered to solve
sept
Lastmod by
Philippe Cloutier
Rating
(0)
Description

RoadMap shows "Fatal error: Call to undefined method TikiDate::getDate() in /home/tiki/public_html/lib/wiki-plugins/wikiplugin_countdown.php on line 60". This happens when using the COUNTDOWN plugin on PHP 5.1 and later due to a missing definition of getDate() in the lib/tikidate-php5.php TikiDate. The old TikiDate (lib/tikidate-pear-date.php) declared that function (via inheritance).

This was introduced in r14129 and widely exposed in r20047 on lib/tikidate.php.

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2851
Created
Monday 09 November, 2009 20:08:41 UTC
by Philippe Cloutier
LastModif
Tuesday 10 November, 2009 14:07:44 UTC


Show PHP error messages