Index: src/bp-templates/bp-legacy/buddypress-functions.php
===================================================================
--- src/bp-templates/bp-legacy/buddypress-functions.php
+++ src/bp-templates/bp-legacy/buddypress-functions.php
@@ -497,7 +497,10 @@
 		// Add it to the beginning of the templates array so it takes precedence
 		// over the default hierarchy.
 		if ( ! empty( $page_template ) ) {
-			array_unshift( $templates, $page_template );
+			// Check for existence of template before adding it to template stack
+			if ( '' !== locate_template( $page_template ) ) {
+				array_unshift( $templates, $page_template );
+			}
 		}
 
 		return $templates;
