According to the error you are missing this stored procedure:
CREATE PROCEDURE [dbo].[mp_SiteHosts_SelectSiteIdByHost]
/*
Author: Joe Audette
Created: 2011-08-24
Last Modified: 2011-11-25
*/
@HostName nvarchar(255)
AS
SELECT COALESCE(
(SELECT TOP 1 SiteID
FROM [dbo].mp_SiteHosts
WHERE HostName = @HostName),
(SELECT TOP 1 SiteID FROM [dbo].mp_Sites ORDER BY SiteID)
)
GO