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

    HOT TOURS

    LATEST FORUM

    • No posts to display.

    BUY & SELL

    Surigao Boodle Feast
    ( / FOOD AND BEVERAGES)

    Surigao Boodle Feast
    07-22-2016

    Brand New Ocean View House and Lot in Surigao City
    (REAL ESTATE / Real Estate For Sale)

    Brand New Ocean View House and Lot in Surigao City
    10-07-2015