When configuring an EPiServer site (sometimes migrated from 4.62 with upload paths), you might encounter this error when experimenting with the new VPP section in EPiServer.config.
The problem is that the currently used <site> element has a pageFolderVirtualPathProvider attribute that points to an <add> (inside the <virtualPath>, <providers> section) with a virtualPath attribute, for which no match is found.
To fix this, change the pageFolderVirtualPathProvider attribute to point to the virtualPath attribute of an existing <add> element.
The following code contains such a fix:
<site … pageFolderVirtualPathProvider="SitePageFiles" />
…
<virtualPath>
<providers>
<add … virtualPath="SitePageFiles" />
</providers>
</virtualPath>