Closed dhavalgshah closed 6 years ago
A simple solution to this was suggested by @iandunn in the same chat by definining a function in {path_to_vvv}/www/wordpress-meta-environment/wordpressorg.dev/public_html/wp-content/mu-plugins/sandbox-functionality.php
function make_site_get_network_sites() {
return array();
}
Issue
Following error gets displayed on a freshly provisioned Meta Environment with latest VVV, by visiting http://make.wordpressorg.test/.
Fatal error: Uncaught Error: Call to undefined function make_site_get_network_sites() in /srv/www/wordpress-meta-environment/meta-repository/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/front-page.php:13
Reason
make_site_get_network_sites()
function is not defined anywhere in wordpress.org code base.It was confirmed by @iandunn in meta channel of WordPress Slack community that this is because of WordPress.org is still in the process of getting fully open sourced and this function is not open sourced yet.