External app using wp-load on subdomain
I think that’s getting triggered by wp-load being unable to identify which blog you’re on at load time. I’d try define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 ); before you include wp-load, looking up the correct IDs for domain.com/app/ from your wp_blogs table.