Support » Plugin: Event Calendar WD - Responsive Event Calendar plugin » Add new event return Blank page

  • Resolved steplab

    (@steplab)


    Hi
    When I add a new event and click to publish so to save I get a blank page.
    If retorn to event list the event is saved but only title and text, all the other settings like event dates and other are not saved.

    Plugin version 1.1.22
    Wordpress version 4.9.8

    log errors:
    [12-Dec-2018 12:17:41 Europe/Rome] PHP Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /wp-content/plugins/event-calendar-wd/includes/events/ecwd-events-controller.php on line 32
    [12-Dec-2018 12:24:21 Europe/Rome] PHP Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /wp-content/plugins/event-calendar-wd/includes/events/ecwd-events-controller.php on line 32
    [12-Dec-2018 12:27:20 Europe/Rome] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘ECWD_Admin’ does not have a method ‘global_deactivate’ in /wp-includes/class-wp-hook.php on line 286
    [12-Dec-2018 12:28:27 Europe/Rome] PHP Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /wp-content/plugins/event-calendar-wd/includes/events/ecwd-events-controller.php on line 32

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter steplab

    (@steplab)

    Founded this line 32 inside /wp-content/plugins/event-calendar-wd/includes/events/ecwd-events-controller.php

    
    $ecwd_query->filter_by_post_status(['publish','private']);
    

    resolvede replacing with this:

    
    $ecwd_query->filter_by_post_status(array('publish','private'));
    

    Please fix it inside the plugin for the next version.

    Plugin Support Suzie

    (@suziekh)

    Hi,

    We are very sorry for the inconvenience you have faced.

    We so much appreciate you have posted the fix.

    Thank you and good luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add new event return Blank page’ is closed to new replies.