• Sorry to interrupt your schedule but
    I get this error trying to schedule a closing. Hope is easy to solve.

    [W023] EWZ: problem saving webform. *** EntryWizard ERROR *** Failed to schedule close of webform.

    Using Version 1.3.15
    I did try the sample form and got same error.
    Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Josie Stauffer

    (@joanne123)

    I’m afraid that would be an error in the wordpress scheduling function.

    Have you had entrywizard close a webform automatically before?

    If not, it’s possible your hosting company, or something in your setup, doesn’t allow such actions.

    Thread Starter ronc

    (@ronc)

    Its been working fine for over a year.
    How to check for wordpress scheduling function?
    Where could I find such control or setting?
    Is there one?
    Please advise, thanks

    Plugin Author Josie Stauffer

    (@joanne123)

    It’s a function that the plugin calls, not something you control unless you have set anything to do with wp-cron in in your wp-config file.

    I’m extremely busy for the next few days. I’d suggest going back to the previous version for now. If that version also has a problem, the issue is most likely with some plugin conflict.

    If the older version works, and the new one doesn’t, please let me know exactly what you had set in the webform page when you got the error message.

    Thread Starter ronc

    (@ronc)

    Thanks, but no need to hurry. I just confirmed that I can change the time or set it and when I save, I get the error, but , but guess what it saves it.
    Everything works fine. The EWZ produces the csv file at the set time.
    So no rush, If you ever get more details for it, it will be great.
    Possibly could be a corrupt code some where.
    I am contacting the hosting company to see what can they say.
    Thanks….

    Thread Starter ronc

    (@ronc)

    By the way, This did happens after I installed EWZ Rating, had a full scoring.
    Clear scoring, clear submission, the the error starting to show.
    So we can work OK, Thanks

    Thread Starter ronc

    (@ronc)

    An update on the issue.
    It seems the error issue develops after having ratings done and erasing the entries in submission before clearing the ratings from the judges.

    So now we are starting a new process of submissions:
    You open the webform for submission and check for ‘open’ then add a closing date;
    and save…
    You get error mentioned above.
    The closing date is saved, but not the open check mark. so the submission still closed.
    Uncheck the closing data, open the webform, save. All good.
    Now add a closing date and save. You get the error, but it saves all.
    So you are good to go. Hope this may help Josie.
    Again no need to work on this as of now. as there is work/around for us the users doing the wrong thing.
    Thanks for all your help

    Plugin Author Josie Stauffer

    (@joanne123)

    But I suspect the webform is not actually closed at the date-time you specify.

    The error message implies that a closing time may have been set and saved by entrywizard, but that the actual scheduling of the closing via the wordpress wp-cron function failed.

    Did the webform actually stay open for uploads after the date-time you set for closing?

    And just to be sure: you say it “worked” before, but was the webform actually closed at the time you scheduled? I just checked the code history, and the feedback about whether the scheduling succeeded was only added in version 1.3.15. Before that, you would not have got an error message.

    You may want to read up on wp-cron — just Google it.

    Thread Starter ronc

    (@ronc)

    I will review all this, and read about wp-cron. Thanks

    Thread Starter ronc

    (@ronc)

    Since the problem persist, I did find info about wp_cron.
    they talk about set_time_limit(). I did find 2 cron files.
    Neither had that line.
    So I do not know how to increase the time limit.
    I was finally able to find a log of the error:

    [27-Aug-2020 13:53:37 UTC] EWZ: Failed to schedule close of webform. ;; 289 {user 67}~{ classes/ewz-webform.php, line 1319 }~
    [27-Aug-2020 13:53:37 UTC] EWZ: ewz_save_webform_callback exception *** EntryWizard ERROR ***
    Failed to schedule close of webform.

    Is this related to the cron settings?
    Have you in the past able to adjust the setting?

    Also wondering if the settings in my php.ini are set right: Here are my settings:
    allow_url_fopen = On
    allow_url_include = Off
    display_errors = on
    enable_dl = Off
    file_uploads = On
    max_execution_time = 90
    max_input_time = 180
    max_input_vars = 2000
    memory_limit = 256M
    post_max_size = 12M
    session.gc_maxlifetime = 1440
    session.save_path = “/var/cpanel/php/sessions/ea-php73”
    upload_max_filesize = 2M
    zlib.output_compression = Off

    Any help will be appreciated, thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘error [W023] saving close schedule’ is closed to new replies.