Fatal error: Uncaught exception ‘Exception’ with message ‘DateTime::__construct

While editing user details in “User Manager” in Joomla back-end, you may get the following error message.

Fatal error: Uncaught exception \\\’Exception\\\’ with message \\\’DateTime::__construct() [<a href=\\\’datetime.–construct\\\’>datetime.–construct</a>]: Failed to parse time string (24/05/1995) at position 0 (2): Unexpected character\\\’ in /home/cpaneluser/public_html/libraries/joomla/utilities/date.php:149 Stack trace: #0 /home/cpaneluser/public_html/libraries/joomla/utilities/date.php(149): DateTime->__construct(\\\’24/05/1995\\\’, Object(DateTimeZone)) #1 /home/cpaneluser/public_html/libraries/joomla/factory.php(452): JDate->__construct(\\\’24/05/1995\\\’, \\\’UTC\\\’) #2 /home/cpaneluser/public_html/libraries/joomla/html/html.php(573): JFactory::getDate(\\\’24/05/1995\\\’, \\\’UTC\\\’) #3 [internal function]: JHtml::date(\\\’24/05/1995\\\’) #4 /home/cpaneluser/public_html/libraries/joomla/html/html.php(187): call_user_func_array(Array, Array) #5 /home/cpaneluser/public_html/libraries/joomla/html/html.php(87): JHtml::call(Array, Array) #6 /home/cpaneluser/public_html/libraries/joomla/html/html.php(718): JHtml::_(\\\’date\\\’, \\\’24/05/1995\\\’) #7 [internal function]: JHtml::calendar(\\\’24/05/1995 in /home/cpaneluser/public_html/libraries/joomla/utilities/date.php on line 149

This is the error due to wrong date format used while adding/registering a new user.

To correct the issue, check related database name in “configuration.php” >> access PHPmyadmin in WHM >> Select proper database >> Search “24/05/1995” by selecting all the tables and edit related table accordingly and change the value “24/05/1995” to “24-05-1995”.

In most of the cases, the table will be “jos_user_profiles” so you need to edit “profile.dob” for respective user ID for which you are getting the error.

suPHP must be enabled to install Owncloud

While installing Owncloud through softaculous, you may get the following error.

suPHP must be enabled to install Owncloud

This is because of the suphp configuration in softaculous admin panel.

To resolve the issue, login to the WHM >> Plugins >> softaculous – Instant Installs >> Settings >> Under General Settings Change the values;

CHMOD Files to 644
CHMOD Directories to 755
CHMOD Config files to 644

save the changes and try to install the script. It should be installed without any error.


alarm level changed

Sometimes, you may get flooded with the email alerts like

alarm level changed.

This is an alert sent by plesk as a result of low values set for the Health Monitor.

To resolve the issue, you can download the Health Monitor configuration file in .xml format on your local PC and edit the values as below.

<service name=”Web” monitor=”true”>

<alarm level=”red” threshold=”25″ type=”percent”/>

<alarm level=”yellow” threshold=”20″ type=”percent”/>



and change it as per the limits you want to set.


<service name=”Web” monitor=”true”>

<alarm level=”red” threshold=”60″ type=”percent”/>

<alarm level=”yellow” threshold=”50″ type=”percent”/>


Save it and re-upload it to the server.

Or from command line, you will have to edit the following file.

# /usr/local/psa/var/custom-health-config.xml

Edit the values, save it and check the Health Monitor in plesk, it should be fine now.