Which action is ‘mytheme_add_admin’ added to? Am I correct in assuming that the mytheme_add_admin function is in your theme’s functions.php file?
What version of WordPress do you have installed on your local box, and what version is installed on the other server?