Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
On a current, rather large, migration, I started seeing the following error:
Fatal error: Exception thrown without a stack frame in Unknown on line 0 shutdown
After a bit of research, I discovered this is typically associated with uncaught exceptions that are thrown in shutdown functions.
The fix is to use drupal_register_shutdown_function()
rather than the native PHP one.
After applying this patch, I no longer get the bizarre error above, but have yet to figure out what exception was being thrown.
Comment | File | Size | Author |
---|---|---|---|
migrate-drupal-register-shutdown-function.patch | 397 bytes | jhedstrom | |
Comments
Comment #3
mikeryanThe patch failed because it was against a stale version of Migrate. Nevertheless, it's simple and sensible - I've committed it.
Thanks!
Comment #4
mikeryanTagging as 2.6.