Conflict with NextGEN Gallery

Somehow activating roots causing NextGEN Gallery’s page to have 404 error to
POST http://www.example.com/photocrati_ajax 404 (Not Found) when accessing the add gallery/image page.

https://wordpress.org/support/topic/unable-to-upload-images-42?replies=3#post-6163808

Interesting part is deactivating roots doesn’t solve the problem once it occur. Does anyone has any clue which part of roots might be causing the problem?

Ignore this, its my fault. Apache wasn’t reading the .htaccess.