The theme_slideshowcs_my_form function expects $form as a reference, however it is not passed as one. This causes PHP 5.3 to throw complaints. Just removing the ampersand works fine for me.