Could not find an entry for table or index with object ID %1!s! (partition ID %2!s!) in database %3!s!. This error can occur ...

Could not find an entry for table or index with object ID %1!s! (partition ID %2!s!) in database %3!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.