When you want to apply update 8025 you could have the exception below:
exception 'Drupal\Core\Database\SchemaObjectDoesNotExistException' with message 'Cannot add field node__webform.webform_status_temp: table doesn't exist.' [error]
in C:\xampp\htdocs\issa\core\lib\Drupal\Core\Database\Driver\mysql\Schema.php:392
Stack trace:
#0 C:\xampp\htdocs\issa\modules\contrib\webform\includes\webform.update.inc(500): Drupal\Core\Database\Driver\mysql\Schema->addField('node__webform',
'webform_status_...', Array)
#1 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\commands\core\core.drush.inc(1168) : eval()'d code(1): webform_update_8025()
#2 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\commands\core\core.drush.inc(1168): eval()
#3 [internal function]: drush_core_php_eval('module_load_ins...')
#4 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\includes\command.inc(422): call_user_func_array('drush_core_php_...', Array)
#5 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\includes\command.inc(231): _drush_invoke_hooks(Array, Array)
#6 [internal function]: drush_command('module_load_ins...')
#7 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\includes\command.inc(199): call_user_func_array('drush_command', Array)
#8 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\lib\Drush\Boot\BaseBoot.php(67): drush_dispatch(Array)
#9 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\includes\preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#10 C:\Users\blobu\AppData\Roaming\Composer\vendor\drush\drush\drush.php(12): drush_main()
#11 {main}
Update code doesn't check "Webform Node" was enabled before.
You have to enable "Webform Node" module in order to apply this update.
Comments
Comment #2
jrockowitz commentedThe webform field is part of the core webform module but the 'webform' fields is installed by the webform_node.module. Update #8025 should not be checking for the webform_node.module. Many people are having issues with update #8025, @blobsmith are able to get update #8025 to work when you enable the webform_node.module.
Comment #3
jrockowitz commentedI am pretty sure this error was being caused by the update hook not respecting database table prefixes. This issue has been fixed in the latest dev release.