Hello,
Enable WP debug and check what error do you have there, then fix the code that caused the errors.
Regards