1. At the end, it redirects you back to a question bank URL. In some circumstances, this URL will contain a cat=nnn parameter of the category you have just deleted, which naturally leads to an error. This parameter needs to be removed.
2. When there are questions in the category that need to be moved, the category id we are moving to is not exploded on ','.