bcit-ci/CodeIgniter · error · BadMethodCallException
No such method: $method()
Error message
No such method: $method()
What it means
Error "No such method: $method()" thrown in bcit-ci/CodeIgniter.
Source
Thrown at system/libraries/Driver.php:303
// --------------------------------------------------------------------
/**
* __call magic method
*
* Handles access to the parent driver library's methods
*
* @param string
* @param array
* @return mixed
*/
public function __call($method, $args = array())
{
if (in_array($method, $this->_methods))
{
return call_user_func_array(array($this->_parent, $method), $args);
}
throw new BadMethodCallException('No such method: '.$method.'()');
}
// --------------------------------------------------------------------
/**
* __get magic method
*
* Handles reading of the parent driver library's properties
*
* @param string
* @return mixed
*/
public function __get($var)
{
if (in_array($var, $this->_properties))
{
return $this->_parent->$var;
}View on GitHub (pinned to 3658d731ea)
When it happens
Trigger: Thrown at system/libraries/Driver.php:303 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of bcit-ci/CodeIgniter@3658d731ea (2026-08-17).
Data as JSON: /api/errors/7ee30e9738e8be8e.
Report an issue: GitHub.