Error when installing XF 2.0.2

AlexHBN

Member
Hi, I am trying to install xenforo to cpanel, however the install instantly fails and gives the following error:
An exception occurred: [TypeError] Argument 2 passed to XF\Template\Templater::setUserBanners() must be of the type array, null given, called in /home/habboukc/public_html/xenforo/upload/src/XF/App.php on line 1458 in src/XF/Template/Templater.php on line 413

  1. XF\Template\Templater->setUserBanners() in src/XF/App.php at line 1458
  2. XF\App->setupTemplaterObject() in src/XF/App.php at line 1082
  3. XF\App->XF\{closure}() in src/XF/Container.php at line 28
  4. XF\Container->offsetGet() in src/XF/App.php at line 2650
  5. XF\App->templater() in src/XF/Pub/App.php at line 348
  6. XF\Pub\App->preRender() in src/XF/Mvc/Dispatcher.php at line 280
  7. XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 44
  8. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1889
  9. XF\App->run() in src/XF.php at line 328
  10. XF::runApp() in index.php at line 13
Does anybody have any ideas what is wrong?

Thanks,
Alex
 
Top