1. Kayako Download customers: we will continue to develop and support Kayako Download beyond July 2017, alongside the new Kayako for existing customers.

    Find out more.

Knowledgebase doesn't work anymore, throws errors

Discussion in 'Technical chat' started by zztemp, Mar 20, 2017.

  1. zztemp

    zztemp Established Member

    Hi,

    we have been using kayako on-side for years, never had issues. Today we had a user complain about not being able to access knowledgebase. Further investigation gave us these errors:
    What can i do to resolve them? I'm currently on the latest version possible.

    Code:
    
    Uncaught Exception
    Invalid data provided in .\__apps\knowledgebase\models\Article\class.SWIFT_KnowledgebaseArticle.php:211
    #0 File: .\__apps\knowledgebase\models\Article\class.SWIFT_KnowledgebaseArticle.php Line: 93 Function: SWIFT_KnowledgebaseArticle->LoadData((object) SWIFT_DataID) 
    88 	 */89 	public function __construct(SWIFT_Data $_SWIFT_DataObject)90 	{91 		parent::__construct();92 93 		if (!$_SWIFT_DataObject instanceof SWIFT_Data || !$_SWIFT_DataObject->GetIsClassLoaded() || !$this->LoadData($_SWIFT_DataObject)) {94 			throw new SWIFT_Article_Exception('Failed to load the Knowledgebase Article Object');95 96 			$this->SetIsClassLoaded(false);97 98 			return false;
    #1 File: .\__apps\knowledgebase\staff\class.Controller_Article.php Line: 399 Function: SWIFT_KnowledgebaseArticle->__construct((object) SWIFT_DataID) 
    394 			throw new SWIFT_Exception(SWIFT_INVALIDDATA);395 396 			return false;397 		}398 399 		$_SWIFT_KnowledgebaseArticleObject = new SWIFT_KnowledgebaseArticle(new SWIFT_DataID($_knowledgebaseArticleID));400 		if (!$_SWIFT_KnowledgebaseArticleObject instanceof SWIFT_KnowledgebaseArticle || !$_SWIFT_KnowledgebaseArticleObject->GetIsClassLoaded())401 		{402 			throw new SWIFT_Exception(SWIFT_INVALIDDATA);403 404 			return false;
    #2 File: Line: Function: Controller_Article->Edit(122) 
    #3 File: .\__swift\library\MVC\class.SWIFT_Controller.php Line: 371 Function: call_user_func_array(((object) Controller_Article, Edit), (122)) 
    366 			$_argumentsContainer = array($_SWIFT_RouterObject->GetArguments($_fetchRESTArguments));367 		} else {368 			$_argumentsContainer = $_SWIFT_RouterObject->GetArguments($_fetchRESTArguments);369 		}370 371 		call_user_func_array(array(self::$_controllerObjectCache[$_controllerClassName], $_controllerActionName), $_argumentsContainer);372 373 		return self::$_controllerObjectCache[$_controllerClassName];374 	}375 376 	/**
    #4 File: .\__swift\library\App\class.SWIFT_App.php Line: 176 Function: SWIFT_Controller::Load((object) SWIFT_Interface, (object) SWIFT_App_knowledgebase, (object) SWIFT_Router, FALSE) 
    #5 File: .\__swift\library\class.SWIFT.php Line: 16 Function: SWIFT_App->ExecuteController((object) SWIFT_Router) 
    #6 File: .\__swift\library\class.SWIFT.php Line: 16 Function: SWIFT->Initialize() 
    #7 File: .\__swift\swift.php Line: 16 Function: SWIFT::GetInstance() 
    #8 File: .\staff\index.php Line: 29 Function: require_once(C:\xampp\htdocs\Helpdesk\__swift\swift.php) 
    Copy to clipboard:
    Uncaught Exception
    Invalid data provided in .\__apps\knowledgebase\models\Article\class.SWIFT_KnowledgebaseArticle.php:211
    =================================================================================================================================
    
    
    #0 .\__apps\knowledgebase\models\Article\class.SWIFT_KnowledgebaseArticle.php(93): SWIFT_KnowledgebaseArticle->LoadData(Object(SWIFT_DataID))
    #1 .\__apps\knowledgebase\staff\class.Controller_Article.php(399): SWIFT_KnowledgebaseArticle->__construct(Object(SWIFT_DataID))
    #2 [internal function]: Controller_Article->Edit('122')
    #3 .\__swift\library\MVC\class.SWIFT_Controller.php(371): call_user_func_array(Array, Array)
    #4 .\__swift\library\App\class.SWIFT_App.php(176): SWIFT_Controller::Load(Object(SWIFT_Interface), Object(SWIFT_App_knowledgebase), Object(SWIFT_Router), false)
    #5 .\__swift\library\class.SWIFT.php(16): SWIFT_App->ExecuteController(Object(SWIFT_Router))
    #6 .\__swift\library\class.SWIFT.php(16): SWIFT->Initialize()
    #7 .\__swift\swift.php(16): SWIFT::GetInstance()
    #8 .\staff\index.php(29): require_once('C:\\xampp\\htdocs...')
    #9 {main}
    
    
    
     
  2. zztemp

    zztemp Established Member

    anyone? non of our Kb's are accessible atm
     

Share This Page