You forgot the star after PANEL. It's supposed to be "PANEL* name_pan = etc.".


Always learn from history, to be sure you make the same mistakes again...