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.137 seconds

    HOT TOURS

    LATEST FORUM

    • No posts to display.

    BUY & SELL

    833 SQM Beach Front For Sale in Sta. Fe General Luna Siargao
    (REAL ESTATE / Beach and Resort )

    833 SQM Beach Front For Sale in Sta. Fe General Luna Siargao
    08-15-2023

    Recommended Surigao Wedding Planer
    (SERVICES / Events, Planning, Arts and Entertainment)

    Recommended Surigao Wedding Planer
    10-25-2015