I'm currently running a D8 site with Webform 8.x-5.22. I intend to go to D9 and installing Webform 6.0.0 seems to be a pre requirement.
Simple question regarding this sole webform upgrade under D8 : How to do it and keep forms, results and all that goes with.... Is it as simple as replacing the webform module folder, being sure dependencies are met and run update.php ?
I have installed the Time Field For Drupal 8.x / 9.x module to have the start time and end time entered. Works well. I can't calculate the Number of hours. I have $ OraIni and $ OraFin.
$ OraIni = date ('H: i', $ form ['field_time_mission'] ['widget'] [0] ['from'] ['# value']);
$ OraFin = date ('H: i', $ form ['field_time_mission'] ['widget'] [0] ['to'] ['# value']);
I built a site locally using MAMP and the most recent Drupal 8. tested it locally, and it works. I can't makae it work in production..
I uploaded and extracted a compressed archive and imported the data base. I can see the home page and navigate around the site. When I try to log in I get this:
"The website encountered an unexpected error. Please try again later."