prosite error

Fatal error: Call to undefined function switch_to_blog() in /home/doubleat/public_html/wp/wp-content/plugins/pro-sites/pro-sites.php on line 190 i get this error how to solve this