• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Trying to remove add on's

wickedstangs

Well-known member
#1
I am trying to remove add on's from 1.2.0 beta 5 and get these errors.

Argument 1 passed to XenForo_Model_AddOn::rebuildAddOnCachesAfterActiveSwitch() must be of the type array, none given, called in /home/xxxxxxxx/public_html/community/library/Bookmarks/DataWriter/AddOn.php on line 19 and defined
  1. XenForo_Application::handlePhpError() in XenForo/Model/AddOn.php at line 504
  2. XenForo_Model_AddOn->rebuildAddOnCachesAfterActiveSwitch() in Bookmarks/DataWriter/AddOn.php at line 19
  3. Bookmarks_DataWriter_AddOn->_postSave() in XenForo/DataWriter.php at line 1397
  4. XenForo_DataWriter->save() in XenForo/ControllerAdmin/Abstract.php at line 131
  5. XenForo_ControllerAdmin_Abstract->_getToggleResponse() in XenForo/ControllerAdmin/AddOn.php at line 314
  6. XenForo_ControllerAdmin_AddOn->actionToggle() in XenForo/FrontController.php at line 337
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  8. XenForo_FrontController->run() in /home/gmntmare/public_html/community/admin.php at line 13
ErrorException: Argument 1 passed to XenForo_Model_AddOn::rebuildAddOnCachesAfterActiveSwitch() must be of the type array, none given, called in /home/xxxxxxxx/public_html/community/library/Bookmarks/DataWriter/AddOn.php on line 19 and defined - library/XenForo/Model/AddOn.php:504
 

Jeremy

Well-known member
#4
Well, its doing it tall all add-ons because the bookmarks add-on seems to be extending the add-on DataWriter, and that occurs when uninstalling any add-on.
 
S

Syndol

Guest
#5
It is because you are trying to delete an add-on that was written for XenForo 1.1.x from within XenForo 1.2.0
Upgrade the add-on to the latest version first and then delete it.