Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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 🙂

Viewing 1 replies (of 1 total)