If this error is raised in a database that you have just restored from a backup, ensure you have followed the steps outlined in the backup and restore documentation, including executing sp_replrestart if appropriate. For more information, see Strategies for Backing Up and Restoring Snapshot and Transactional Replication.
This error is an internal processing error and if it is raised in circumstances other than a restore, it typically indicates that replication must be removed and reconfigured. For more information, see Removing Replication. If it is not possible to remove replication, contact customer support for assistance.