ErrorException [ Warning ]: in_array() expects parameter 2 to be array, null given

DOCROOT/non-public/inzite/classes/Inzite/ORM.php [ 822 ]

817 		$sObject = strtolower(str_replace('Model_', '', get_class($this)));
818 		$sObjectLocale = 'Locale' . strtolower($sObject);
819 
820 		$aLocaleTables = Session::instance()->get('cache.localetables');
821 		$bLocale = (bool)(class_exists('Model_' . $sObjectLocale) && in_array(strtolower($sObjectLocale),
822 				$aLocaleTables));
823 
824 		if ($iStatus === null) {
825 			$iStatus = [-1, 0, 1];
826 		}
827 
  1. {PHP internal call} » Kohana_Core::error_handler( arguments )

  2. DOCROOT/non-public/inzite/classes/Inzite/ORM.php [ 822 ] » in_array( arguments )

  3. DOCROOT/non-public/inzite/classes/Inzite/Controller/Redirect/Home.php [ 12 ] » Inzite_ORM->localized( )

  4. SYSPATH/classes/Kohana/Controller.php [ 71 ] » Inzite_Controller_Redirect_Home->before( )

  5. {PHP internal call} » Kohana_Controller->execute( )

  6. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )

  7. SYSPATH/classes/Kohana/Request/Client.php [ 116 ] » Kohana_Request_Client_Internal->execute_request( arguments )

  8. SYSPATH/classes/Kohana/Request.php [ 933 ] » Kohana_Request_Client->execute( arguments )

  9. DOCROOT/public/index.php [ 94 ] » Kohana_Request->execute( )

Environment