I have this Fatal error: Call to undefined function

I have this

Fatal error: Call to undefined function switch_to_blog() in /home/endosen/public_html/blogs.justifydigital.com/wp-content/plugins/pro-sites/pro-sites.php on line 196

When trying to install ? any suggestions please ?