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

    HOT TOURS

    LATEST FORUM

    • No posts to display.

    BUY & SELL

    FOR SALE Brown Rice and Black Rice
    ( / FOOD AND BEVERAGES)

    FOR SALE Brown Rice and Black Rice
    09-10-2015

    Elaw Bistro & Sunset Inn Dinagat
    (REAL ESTATE / House and Lot, Townhouses and Subdivisions )

    Elaw Bistro & Sunset Inn Dinagat
    08-15-2023