Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

profiler showing queries twice

edited October 2019 in Bug Reports

I declare property_type in the foreign key:

then access it from here:

or if I use:

return $this->get_type();

and the function:


I always got:

Could you please explain why the queries showed twice or thrice?

Thank you.


  • Unfortunately it's tough to tell from the screenshots and code to properly debug. I would start from where it's originally called and debug from there. It may take you into the internals of the MY_Model class.

Sign In or Register to comment.