XF 2.0 Error ; src/XF/Db/AbstractStatement.php Line 212

Not open for further replies.


I'm getting this error while trying to load the Siropu Ads Manager plugin.

XF\Db\Exception: MySQL statement prepare error [1146]: Table 'xf_2.xf_siropu_ads_manager_position_category' doesn't exist in src/XF/Db/AbstractStatement.php at line 212
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 40
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
  5. XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1131
  6. XF\Mvc\Entity\Finder->fetchOne() in src/XF/Mvc/Entity/Entity.php at line 735
  7. XF\Mvc\Entity\Entity->_verifyUniqueValue() in src/XF/Mvc/Entity/Entity.php at line 600
  8. XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 674
  9. XF\Mvc\Entity\Entity->bulkSet() in src/addons/Siropu/AdsManager/Repository/PositionCategory.php at line 118
  10. Siropu\AdsManager\Repository\PositionCategory->addDefaultPositionCategories() in src/addons/Siropu/AdsManager/Setup.php at line 700
  11. Siropu\AdsManager\Setup->addDefaultPositionData() in src/addons/Siropu/AdsManager/Setup.php at line 31
  12. Siropu\AdsManager\Setup->installStep2() in src/XF/AddOn/StepRunnerInstallTrait.php at line 60
  13. Siropu\AdsManager\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 27
  14. Siropu\AdsManager\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 390
  15. XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 249
  16. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 89
  17. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  18. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  19. XF\App->run() in src/XF.php at line 328
  20. XF::runApp() in admin.php at line 13


Version 1.5 is active. I'm doing tests on another server for upgrade for 2.x ..
Everything is okay. I am also having problems with this plugin. I think I tried to update without deleting the old version. That's what happened. Now I erased the old files. I get this error. At first I was getting this error.

Error : All category_id values must be unique.
Not open for further replies.