Without more information than "Error", we can only speculate what the problem is. You need to enable error logging and/or printing for your software.
It sounds like you're using Joomla, so this would be the process https://www.pipeten.com/support/applications/joomla-debugging-error-logging/