Title: WD- Calendar Plugin error
Last modified: September 15, 2018

---

# WD- Calendar Plugin error

 *  Resolved [ashton293](https://wordpress.org/support/users/ashton293/)
 * (@ashton293)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/)
 * I have needed to contact my hosting company to solve an issue with my website
   that was caused by the latest WD-Calendar update.
 * By updating the plugin I was unable to access “wp-admin”. When the plugin is 
   deactivated the website now works – without the diary.
 * It would be appreciated if WD-Calendar plugin is updated to solve this issue.
 * Thankyou.

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

 *  [Web-Dorado Team](https://wordpress.org/support/users/wdteam/)
 * (@wdteam)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10690759)
 * Hi,
 * We are sorry for the inconvenience.
 * This is a specific case, could you please contact our support team?
 * The email address is > [support@web-dorado.com](https://wordpress.org/support/topic/wd-calendar-plugin-error/support@web-dorado.com?output_format=md)
 * We are kindly asking to mention this forum thread URL.
 * Thank you and have a nice day!
 *  [Jonny](https://wordpress.org/support/users/jmayo/)
 * (@jmayo)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10702343)
 * I just encountered this issue on our WordPress network and identified the issue…
 * It’s down to an outdated version of PHP. We are running 5.4.x, for legacy support
   reasons on the platform (looking to upgrade soon).
 * On line 194 of ecwd_admin_class.php you use the empty() function with the get_post_meta()
   function. Prior to PHP 5.5 empty does not work with function calls.
 * To fix the issue do the following at line 194:
 *     ```
                $empty_fix= get_post_meta($post_id, 'ecwd_event_date_from', true);
             if(empty($empty_fix)) {
       ```
   
 * The plugin now works with earlier versions of PHP again.
 * Whether or not the plugin wants to officially support anything prior to 5.6 I
   don’t know but the above is a small change which would probably be helpful to
   your customers in the short term 🙂
 *  [Web-Dorado Team](https://wordpress.org/support/users/wdteam/)
 * (@wdteam)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10702857)
 * Hi [@jmayo](https://wordpress.org/support/users/jmayo/),
 * Thank you for sharing this useful fix on our forum.
 * We hope this will help many users who use earlier version of PHP.
 * Thank you!
 *  [wecelio](https://wordpress.org/support/users/wecelio/)
 * (@wecelio)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10704473)
 * [@jmayo](https://wordpress.org/support/users/jmayo/) **This works**!! awesome,
   You save me the day, thanks!!
 *  [ahcj](https://wordpress.org/support/users/ahcj/)
 * (@ahcj)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10723429)
 * [@wdteam](https://wordpress.org/support/users/wdteam/): Does this mean we can
   expect to see this fix in an update? All of us manually applying this fix ourselves
   upon future unrelated updates to this plugin really isn’t ideal.
 *  [ahcj](https://wordpress.org/support/users/ahcj/)
 * (@ahcj)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10723438)
 * Respectfully, please don’t say “Requires PHP Version: 5.2 or higher” if you don’t
   actually test on these older versions.
 *  [Web-Dorado Team](https://wordpress.org/support/users/wdteam/)
 * (@wdteam)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10725440)
 * Hi,
 * Please be informed that our plugin works with PHP Version 5.6 or higher. Unfortunately,
   we cannot make it work with the older version without any issues.
 * Thanks and have a nice day!

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

The topic ‘WD- Calendar Plugin error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-calendar-wd_a3bef6.svg)
 * [EventCalendar](https://wordpress.org/plugins/event-calendar-wd/)
 * [Support Threads](https://wordpress.org/support/plugin/event-calendar-wd/)
 * [Active Topics](https://wordpress.org/support/plugin/event-calendar-wd/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-calendar-wd/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-calendar-wd/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 7 replies
 * 5 participants
 * Last reply from: [Web-Dorado Team](https://wordpress.org/support/users/wdteam/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/wd-calendar-plugin-error/#post-10725440)
 * Status: resolved