Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to publish an article but it comes with an error message ''The 'publish on' date must be in the future''. I haven't set any schedule date but puts a red box around the date/time. I try choose later today but it still doesn't work. How do i change this so i can just publish straight away?
Comments
Comment #1
spike1911 CreditAttribution: spike1911 commentedI don't understand it because it was working fine earlier but since i've set items to schedule its now suddenly giving me that error message when i try publish.
Comment #2
Eric-Alexander Schaefer CreditAttribution: Eric-Alexander Schaefer commentedI have no explanation for this behavior. It should publish the node right away if the scheduler publish_on field is blank (and publish is checked in the publish tab).
Comment #3
jonathan1055 CreditAttribution: jonathan1055 commentedHi spike1911
Is the content type setting ticked for 'Publishing date/time is required.'?
Comment #4
jenpasch CreditAttribution: jenpasch commentedWe were having this same issue, needing to have some articles scheduled to go live in an hour or 2. By ticking 'Publishing date/time is required' on, saving the settings, and then ticking it back off, we were suddenly able to do this.
Comment #5
felixbachman CreditAttribution: felixbachman commentedI have a content type set to 'Publishing date/time is required.' After the the time passed and the node is published, the publishing date/time is removed from the node by the cron run.
When I try to edit that node after it was published I get that error message (Valid date required for 'publish on') because that publishing date is empty.
Any idea what to do?
Comment #6
jonathan1055 CreditAttribution: jonathan1055 commentedHello Felixbachman,
I think your problem is the same as #1198788: Editing a published node with "Publishing date/time is required" forces users to set a new "Publish on" date/time.
But the original issue above is not necessarily the same as yours, so I am not closing this as a duplicate just yet.
Jonathan
Comment #7
felixbachman CreditAttribution: felixbachman commentedThanks Jonathan,
didn't see that other issue. And yes, that solved the problem
Felix
Comment #8
pfrenssenClosing as a duplicate of #1198788: Editing a published node with "Publishing date/time is required" forces users to set a new "Publish on" date/time as per #6 and #7.edit: I was wrong, this is not a duplicate of that issue.
Comment #9
jonathan1055 CreditAttribution: jonathan1055 commentedOK. But I am not entirely sure that the original issue and comments #1-4 are the same problem as #1198788: Editing a published node with "Publishing date/time is required" forces users to set a new "Publish on" date/time. However, given that we never detected what exactly their issue was, I'm ok with closing this. It can be re-opened if the original users come back with a further explanation of the problem.
Jonathan
Comment #10
pfrenssenI closed this in error. The original issue is indeed not a duplicate of #1198788. I will edit my post in #8 to avoid any further confusion.
I do think that the original issue might not be occurring any more in recent versions of Scheduler. I have extensively tested and audited the module over the past weeks and have not encountered this. I will change the status to "cannot reproduce" instead of "duplicate".
If anyone still encounters the original issue, feel free to reopen and provide details on how to reproduce it.
Comment #11
jonathan1055 CreditAttribution: jonathan1055 commentedThank you for your thoroughness and explanation.