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 7 years 1 month 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: 7 years 1 month ago by ecafwercs.
The administrator has disabled public write access.
Time to create page: 0.191 seconds

    HOT TOURS

    LATEST FORUM

    • No posts to display.

    BUY & SELL

    110 sqm House and Lot For Sale in General Luna Siarg
    (REAL ESTATE / House and Lot, Townhouses and Subdivisions )

    110 sqm House and Lot For Sale in General Luna Siarg
    08-09-2020

    FOR SALE LAPTOP
    ( / AUTOMOTIVE)

    FOR SALE LAPTOP
    08-27-2015