Time zone could not be found in Joomla

Avatar
  • Answered
When trying to access an item entry in the "Preachit" component in Joomla, I receive the following error: "DateTime::__construct(): Failed to parse time string (Never) at position 0 (N): The timezone could not be found in the database." Then, my only option is to return to return to the control panel. Tech support at Inmotion hosting was able to ascertain that this error is a result of an update recently released by Joomla, but was unable to resolve the issue. Please help.
Avatar
Arn

Hello,

Apologies for the problems with Preachit module in Joomla getting a DateTime error. Please understand that this is a third party component so there may be some limits to what we can do in order to give you a solution. However, I did research the error by going through some online forums and I found a possible solution in this post. They found the issue to be a result of the Calendar object of Joomla and their solution asks you to follow these steps:

  1. Open the file: Administrator > components > com_osproperty > classes > property html php
  2. Find the line that reads:
$row->publish_down="Never";

Change it to :

$row->public_down ="";

If you continue to have problems with this issue, your next best step is to contact the developers of the plugin as it may require an update for their code. I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,

Arnel C.