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 1 in Bug Reports

I declare property_type in the foreign key:

https://pasteboard.co/IzXgJjW.png

then access it from here:

https://pasteboard.co/IzXhVse.png

or if I use:

return $this->get_type();

and the function:

https://pasteboard.co/IzXicEn.png

OR

https://pasteboard.co/IzXihzM.png

I always got:

https://pasteboard.co/IzXjrzy.png

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

Thank you.

Comments

  • 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.