{"id":9390373,"date":"2017-08-08T08:14:34","date_gmt":"2017-08-08T08:14:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/file_get_contents-error-on-multisite\/"},"modified":"2017-08-08T08:26:49","modified_gmt":"2017-08-08T08:26:49","slug":"file_get_contents-error-on-multisite","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/file_get_contents-error-on-multisite\/","title":{"rendered":"file_get_contents error on multisite"},"content":{"rendered":"<p>Errors are thrown for each asset when using the plugin on multisite WP:<\/p>\n<p><code>Warning: file_get_contents(\/Users\/username\/Sites\/wp\/wp-blog-1\/wp-content\/themes\/theme-name\/assets\/stylesheets\/dist\/app.css): failed to open stream: No such file or directory in \/Users\/osvaldas\/Sites\/wp\/wp-content\/plugins\/merge-minify-refresh\/merge-minify-refresh.php on line 487<\/code><\/p>\n<p>No errors on the main site though, works fine there, unlike on the other (secondary) sites&#8230; Any ideas why so?<\/p>\n<p>The multisite is configured to work on an additional slug basis, not subdomain.<\/p>\n","protected":false},"template":"","class_list":["post-9390373","topic","type-topic","status-publish","hentry","topic-tag-file_get_contents","topic-tag-multisite"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9390373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9390373\/revisions"}],"predecessor-version":[{"id":9390404,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9390373\/revisions\/9390404"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9390373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}