Could not find an entry for table or index with partition ID %1!s! in database %2!s!. This error can occur if a stored procedure ...

Could not find an entry for table or index with partition ID %1!s! in database %2!s!. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.