XF 2.1 Transferred host... 'An unexpected error occured'

Drayton Talk

New member
Earlier I transferred my forum from DigitalOcean to Amazon Web Services however I am now receiving the following error.

An unexpected error occurred. Please try again later.

The database is transferred and the details changed in the config. I don't get any errors in my error log file or in the console.
 
Enable debug - that should provide more details on the error.

If you can get into the ACP, there should be entries in the error log.
 
Okay, so it seems like @Jaxel's backup add-on is causing the issue?

PHP:
An exception occurred: [ParseError] syntax error, unexpected '=' in src/addons/EWR/Backup/vendor/tightenco/collect/src/Collect/Support/Arr.php on line 388

Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
Composer\Autoload\ClassLoader->loadClass()
spl_autoload_call()
class_alias() in src/addons/EWR/Backup/vendor/tightenco/collect/src/Collect/Support/alias.php at line 16
require() in src/XF/ComposerAutoload.php at line 112
XF\ComposerAutoload->autoloadFiles() in src/XF/ComposerAutoload.php at line 33
XF\ComposerAutoload->autoloadAll() in src/XF.php at line 238
XF::registerComposerAutoloadDir() in src/XF/App.php at line 2167
XF\App->setupAddOnComposerAutoload() in src/XF/App.php at line 1742
XF\App->setup() in src/XF/Pub/App.php at line 89
XF\Pub\App->setup() in src/XF.php at line 363
XF::setupApp() in src/XF.php at line 386
XF::runApp() in index.php at line 20
 
That specific error is related to a third party add-on - EWR/Backup.

It could be a file issue or something else.
What version of PHP is running on the server?
Does it pass the requirements script? https://xenforo.com/xenforo-requirements-test.zip

Disabling add-ons in the config.php file may allow you to log in to the ACP and disable that add-on, if that is the cause.
 
Top Bottom