Search

Hi, I'm getting the following error in a 2.3.3beta2 installation:

Fatal error: Call to undefined method DateTime::diff() in /sitepath/symphony/lib/core/class.symphony.php on line 349

This happen in staging/production enviroment, maybe related with PHP version? Which is 5.2.17.

My development enviroment is PHP Version 5.4.7 and work fine.

Yeah, that'll be for >= 5.3

Thanks John. I'll check this with server suport.

Would be a good idea update Server Requirements on this site footer once 5.2 is no longer supported.

I think 5.2 is supposed to be supported at the moment, not sure. If you log it as an issue I'm sure Brendan can take a look.

DateTime::diff() is php >= 5.3

I can't wait to drop PHP5.2 support!!!!!!!11111oneoneone

I'll find another way to support it for 2.3. Thanks for logging.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details