Hello. I wont to use Japanese Hlodays without maintenance. I think PEAR Date/Holidays is suitable. But FuelPhp displays error.
<Code> class Controller_index { public function action_Index() {
require_once 'Date/Holidays';
}
}
<Error> Fuel\Core\PhpErrorException [ Runtime Notice ]: Non-static method Date_TimeZone::isValidID() should not be called statically /usr/share/pear/Date/TimeZone.php @ line 4717
Without knowing the package: it doesn't look like you are supposed to call that method statically, I assume you are supposed to create an instance of the class, like
$var = new Date_TimeZone; $isvalid = $var->isValidID();