• Resolved johnph88

    (@johnph88)


    I migrated a to live server with PHP Version 5.2.17. WooCommerce PDF Invoices 2.5.2 is not able to activate.
    It trows
    Fatal error: Call to undefined method DateTime::createFromFormat() in /home/xx/xx/xx/xx/wp-content/plugins/woocommerce-pdf-invoices/includes/admin/class-bewpi-admin-notices.php on line 84

    the x’s are replacement letters

    On my localhost [PHP 5.6.25] it is not an issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Update your php to at least 5.6.
    Take a look at the wordpress requirements.

    Thread Starter johnph88

    (@johnph88)

    apologies out of my control
    I’m on shared hosting https://www.doteasy.com.

    Note: If you are in a legacy environment where you only have older PHP or MySQL versions, WordPress also works with PHP 5.2.4+ and MySQL 5.0+, but these versions have reached official End Of Life and as such may expose your site to security vulnerabilities.

    fyi — by this I had to move to another plugin. — anyway WooCommerce PDF Invoices = a wonderful plugin. Keep it up. TxRgrds, John

    Plugin Author Bas Elbers

    (@baaaaas)

    Thanks John.
    Keep in mind: “may expose your site to security vulnerabilities”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to undefined method DateTime::createFromFormat()’ is closed to new replies.