Title: php error line 24 createFromFormat
Last modified: August 30, 2016

---

# php error line 24 createFromFormat

 *  Resolved [wendy.dwyer](https://wordpress.org/support/users/wendydwyer/)
 * (@wendydwyer)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/)
 * Hi,
    I just downloaded this plugin and I REALLY want to use it, but I can’t upload
   a file for some reason. It keeps giving me this error:
 * Fatal error: Call to undefined method DateTime::createFromFormat() in /memphis-
   documents-library/mdocs-upload.php on line 24
 * After this happened the first time I changed the default timestamp to something
   closer to our own system, but it still didn’t upload.
 * I also want to mention that this is an internal network, and all IP addresses
   other than our company addresses are blocked. Should that cause a problem?
 * Also, is there a file size limit to the uploads?
 * Thanks so much!
 * [https://wordpress.org/plugins/memphis-documents-library/](https://wordpress.org/plugins/memphis-documents-library/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679829)
 * What version of php are you using.
 *  Thread Starter [wendy.dwyer](https://wordpress.org/support/users/wendydwyer/)
 * (@wendydwyer)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679847)
 * 5.2.17 on a Linux server.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679850)
 * Yeah unfortunately that method only works for php version 5.3 or great, I’ve 
   put a check in on the next update that will address this issue and default to
   a non-editable start date for posts.
 *  Thread Starter [wendy.dwyer](https://wordpress.org/support/users/wendydwyer/)
 * (@wendydwyer)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679851)
 * So this plugin won’t work unless I have php 5.3 or greater?
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679852)
 * next version will work with 5.2 or earlier, as of right now no.
 *  Thread Starter [wendy.dwyer](https://wordpress.org/support/users/wendydwyer/)
 * (@wendydwyer)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679853)
 * Ok thank you

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘php error line 24 createFromFormat’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [wendy.dwyer](https://wordpress.org/support/users/wendydwyer/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/php-error-line-24-createfromformat/#post-6679853)
 * Status: resolved