Thread: Mys 1.3.4 Public Profile Mod
View Single Post
  #12  
Old 06-19-2017, 07:27 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 63,603
Dinocanid is on a distinguished road
Default

After installing this, I ran into a "call to member function" error because it couldn't get the image of the pet. I found that using:
Quote:
<img src='{$adopt->getImage()}'><br>"));
Works just fine rather than using the unique id variable, since $adopt is already defined and the image can be retrieved from there. Just putting this out there for others that might run into it.
__________________
Reply With Quote