Encryption Unsuccessful Error

I recently encrypted my phone. It worked fine, but it was causing some issues for me when I tried to transfer pictures to my computer over USB, so I tried to disable it, but afterwards I got an error that says 'Encryption Unsuccessful', and my only option is to 'Reset phone'(which does nothing).

I've done a lot of searching but have been unable to find anything that has helped me resolve this issue. The phone was not rooted. Is there any way of fixing this?

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?