Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter econblogger

    (@econblogger)

    When you go to the page as a user you get this fatal error. Nothing else is displayed

    econblogger,

    Do you have other plugins activated? What WordPress theme active at the moment?

    Try to check on clean, fresh install, everything must be okay.

    econblogger,

    Find the problem. You need to update PHP on your server.

    Thread Starter econblogger

    (@econblogger)

    Thanks for the response.

    I set the theme to be Twenty Ten v 1.5. Then disabled all plugins other than Maintenance and Maintenance Pro. They both are active. Is this correct?

    I tried on WP 3.71 and 3.8

    Thread Starter econblogger

    (@econblogger)

    Also I re-downloaded the plugin from the fruitfulcode site but did not have any luck

    econblogger,

    Problem not in the plugin. You need to update PHP version on your server to PHP 5.3+
    What php version you have at the moment?

    Thread Starter econblogger

    (@econblogger)

    Awesome! That was the issue. I had PHP 5.2 and needed to upgrade to 5.3. Now it works. Thank you for the help

    same problem here…

    Fatal error: Call to undefined method DateTime::createFromFormat() in /home1/vanarkel/public_html/blog/wp-content/plugins/maintenance/includes/functions.php on line 175

    I do hope my provider HostGator is willing to update php.

    I had a chat with them and they installed it. working fine now.

    Any chance to revert this again so that it works with php 5.2.x as well (again)?

    Makes no sense at all having to upgrade php – which can cause major(!!!) problems with other scripts on all websites- just for a single WP plugin… I also don’t understand why it is only 5.3.x compatibel, have found no other script or plugin yet requiring this.

    Earlier I have also -bought- the pro version and now slowly regret having done so. 🙁
    So I now stuck having to use the older version … dissapointing!

    webber2012,

    What other problems you have after php update?

    http://codex.wordpress.org/Hosting_WordPress

    Recommended setup
    PHP 5.4 or greater is recommended.

    Plugins use this function
    DateTime::createFromFormat()

    They required version PHP 5.3+

    No other problems at all, but please also remember that the plugin is also used with older versions of WP.

    Makes no sense at all having to upgrade php – which can cause major(!!!) problems with other scripts on all websites

    No other problems at all?

    Our plugin works correctly with minimum WordPress version 3.2

    Users must update WordPress to latest version in security reasons

    WP 3.8 is installed in my case.

    DateTime::createFromFormat() is available in PHP version >=5.3.
    Hopefully you are using PHP Version less tha 5.3
    You can use $timestamp = strtotime($yourFormattedDateTime); for lower version of php

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Call to undefined method DateTime::createFromFormat() Error after installing Pro’ is closed to new replies.