Fatal error: Call to undefined method |
[eluser]Unknown[/eluser]
Hi, I'm having a problem using a library to perform a call to an external API. Here is my controller : Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Here is the function called in the library : Code: public function whmcs_add_client($params = array()) { The error i am getting : Code: ( ! ) Fatal error: Call to undefined method Whmcs::whmcs_add_client() in /var/www/client/application/controllers/client.php on line 30 What am i missing exactly? Thank you in advance for your help
[eluser]Unknown[/eluser]
As per the doc : Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ...fixed. sorry about this |
Welcome Guest, Not a member yet? Register Sign In |