You need to fix your category table so that the category "Beliefs And Practices/Pillars Of Islam" exists. The category Full_Name also looks like it could be incorrect (it has two //'s). Once you correct these problems, re-run the upgrade. You might need to this several times to fix the broken categories.
Adrian
Adrian