worth checking the error logs, but would be surprised… since we check for existence of the form first, no error will get generated…
a blank screen does not make much sense either… which makes it look like your db is screwed up… the entry for the tabs I mean… can you look at the sfmeta? does it still contain the info I gave you? or have you already tried a reset? seems like the reset might be messing it up…
so lets dump a bit more code… a little earlier in the same file, around line 72, find this line of code:
$tabs = sp_profile_get_tabs();
after it please add
ashow($tabs);
and lets see what it contains and see if the serialized array is proper…