Surigao Islands Minded Heart
Welcome, Guest
Username: Password: Remember me
Networking and Internet

TOPIC: DateTime::__construct(): Failed to parse time stri

DateTime::__construct(): Failed to parse time stri 6 years 7 months ago #1322

  • ecafwercs
  • ecafwercs's Avatar
  • Offline
  • Administrator
  • Posts: 62
  • Karma: 0
MOSETS TREE ERROR

DateTime::__construct(): Failed to parse time string (Never) at position 0 (N): The timezone could not be found in the database


Solution:

If you're running Joomla 3.4.4, updating to Mosets Tree 3.6.6 will fix this error.

If you do not want to run the full update, here's the modification you can do to fix this error.

FILE: /administrator/components/com_mtree/mtree.php
LINE 779:

$form->setValue('publish_down', 'publishing', JText::_( 'COM_MTREE_NEVER' ));

Replace with the following:
$form->setValue('publish_down', 'publishing', $database->getNullDate());


source: forum.mosets.com/showthread.php?t=22998
Last Edit: 6 years 7 months ago by ecafwercs.
The administrator has disabled public write access.
Time to create page: 0.117 seconds

    HOT TOURS