Hello,

When I submit a form in the step of the preview page the following error appears in my log and the page gets blank:

InvalidArgumentException: The timestamp must be numeric. in Drupal\Component\Datetime\DateTimePlus::createFromTimestamp() (line 198 of C:\wamp64\www\vouli\core\lib\Drupal\Component\Datetime\DateTimePlus.php).

I have some date fields in the form but I think this is happening because of drupal update. Any help much appreciated...

Comments

m_dimitris created an issue. See original summary.

jrockowitz’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Please update to the latest release and provide steps to reproduce this issue.

Are you able to replicate this issue using https://simplytest.me?

m_dimitris’s picture

I updated the module to the last version (8.x-5.4). The drupal core is in 8.7.3. The error keeps appearing in log every time the user goes to preview page of a multistep or single step webform (I tested also the demo forms) and the page turns blank with the message "
The website encountered an unexpected error. Please try again later."

jrockowitz’s picture

Are you able to replicate this issue using https://simplytest.me?

m_dimitris’s picture

Currently I disabled the notification, and the preview page is appearing normally. Ofcourse this is not the appropriate solution but I ll keep searching it... I couldn't replicate it in simplytest.me

jrockowitz’s picture

Maybe a contrib or custom module is causing the issue.

Are you able to replicate this error with a plain vanilla local Drupal installation?

m_dimitris’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

After trying I believe that it is a custom module that is causing this. I am closing the issue because it out of the scope of webform