You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Fatal Error

Accepted answer
11
Views
1
Comments

Summary:

this is error is raised when i call the standard model 'Product'.

Fatal error: Call to a member function model() on null of type E_ERROR.

Content (required):

this is my code to call the model:

<?php

$result = $this->CI->model('Prodcat')->getPermissionedListSocialQuestionCreate(true);

echo $result;

?>

i write this code in my custom page in html tag <div>

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!