I had the same issue ! It's an OS Bug on the classic!
User @Harmoncj ran me through the steps to avoid it:)
Message he sent me VVVVV
Actually, I'm an expert on that topic!! Holy moly, most mpc2k heads don't even get this far. so yeah you will tend to run into that screen and freeze if you are working on a big project... the good news is there is a solution!
SHORT STORY:
you can almost always save your project by putting ghost loops on your closed hi hats and any other very short samples. you can do this by zone edits like
1) insert same sample at beginning of zone
2) silence portion of the sample
3) turn on loop and highlight loop somewhere in that silence zone (but leave ~100 space at the end
that should do the trick
LONG STORY:
Oh boy I could write a book explaining this but I'm pretty sure it only applies to this 1 MPC
so whats going on with that DIV ERROR is I think the MPC forgets to allocate its samples voices and envelopes correctly. Mind you that both attack and decay represent 5 whole seconds so if you are using very short one shot samples and you can easily stack up a ton of virtual envelopes that don't even have samples attached to them!
So I made up some tests to see what could force the DIV ERROR screen and what wouldn't, these are the facts :
1) if your sample is LOOP ON it can never create the DIV error screen.
2) if your sample's playback setting is always DECAY=0 ATTACK=0 it can never create the DIV error screen. (not very fun though!)
3) if your sample is longer than 15seconds it can never create the DIV error screen (5seconds attack, 5seconds start point modulation, 5seconds decay)
You might have put together here whats going on is that when when the envelope times are 0, there are no runaway envelopes but when a sample is a loop, there will always be sound for the envelope.
so with that, it just depends, on the one hand its pretty tedious to add a ghost loop to every single sample you use, so I just toss it on closed hi hats always and then anything else if Id like to go crazy manipulating playback parameters. especially the start point modulation.