Thread: Mys 1.3.4 Abron's Background Mod
View Single Post
  #18  
Old 10-03-2018, 11:50 AM
Nairi Nairi is offline
Member
 
Join Date: Sep 2018
Location: Germany
Posts: 13
Gender: Female
Credits: 987
Nairi is on a distinguished road
Default

Hi (sorry for my bad english, i'm from germany :D ),

i tried to bring the background to my game, but i'ts dont show =/ and when i try to show the pet-picture, i became an error:

Code:
 Fatal error: Call to a member function getImage() on null in /users/equino/www/view/myadoptsview.php on line 135
That's the Line:
PHP Code:
        $document->add(new Comment(" <div style='background-image:url:{$adopt->adoptbackground} no-repeat;vertical-align:bottom;text-align:center;width:400px;height:283px'><img src='{$adopt->getImage()}'></div><br><br>This page allows you to manage {$name}.  Click on an option below to change settings.<br> 
can anyone help me? :)
btw i hope you understand me
Reply With Quote