![]() |
I tried it,but absolutely nothing happenend.
|
Show exactly what you have tried so we can work out what went wrong?
|
I just put the code thing and then it gived a error...But i'll try again,just in case.
Edit: Tried again,but it's still appearing that annoying message... Fatal error: Call to a member function add() on null in /home/enchante/public_html/classes/class_sidebar.php on line 111 |
If you'd like help, please show us the edits you are attempting to the code. We're not really great psychics, I'm afraid. :wutno: You could go wrong in a lot of places, but if we see what you do we get the chance to explain why it's not working at the same time as showing you what to do.
|
Obvious i'll show you the code:
/** * The setMoneyBar method, setter method for property $moneyBar. * It is set internally upon object instantiation, cannot be accessed in client code. * @access protected * @return Void */ protected function setMoneyBar(){ $mysidia = Registry::get("mysidia"); $this->moneyBar = new Paragraph; $this->moneybar->add(new Image("amethystdust.png")); $this->moneyBar->add(new Comment("{$mysidia->user->money}")); $donate = new Link("donate"); $donate->setText("Give Currency to Users"); $this->moneyBar->add($donate); $this->setDivision($this->moneyBar); } |
Well it'll be looking for the image "amethystdust.png" in your root directory. As far as I can tell, http://enchantedsoulpetsite.mysidiahost.com/amethystdust.png does not exist, so of course it's not going to show up.
|
All times are GMT -5. The time now is 07:34 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.