XF 2.1 Errors on install


Active member
I am getting the following error after I enter my Sql details and click begin installation:

Server Error
count(): Parameter must be an array or an object that implements Countable

  1. XenForo_Application::handlePhpError() in XenForo/Install/Model/Install.php at line 283
  2. XenForo_Install_Model_Install->insertDefaultData() in XenForo/Install/Controller/Install.php at line 219
  3. XenForo_Install_Controller_Install->actionStep2() in XenForo/FrontController.php at line 351
  4. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  5. XenForo_FrontController->run() in /home/talkdep/public_html/install/index.php at line 18
I have tried php 7.3 and 7.2