![]() |
Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#9
|
||||
|
||||
![]()
I'm getting this error. How can I fix it?
Warning: Missing argument 1 for Breeding::mergedBreed(), called in /home/wildhors/public_html/classes/class_breeding.php on line 52 and defined in /home/wildhors/public_html/classes/class_breeding.php on line 84 and my code in that area in that file is this: private function mergedBreed($species){ if($this->female->getType() != $this->male->getType()) throw new BreedingException("class"); $name = "Child of {$this->female->getName()} & {$this->male->getName()}"; if(!$this->imageurl) $this->imageurl = $this->getImageurl($name); $num = rand(1, $this->settings->number); for($i = 0; $i < $num; $i++){ $this->offsprings->append(new Adoptable($this->female->getType())); } }
__________________
"You try you fail, you try you fail, but the only true failure is if you stop trying. So try again." - Haunted Mansion |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Breeding Bug? Need help :) | Missy Master | Questions and Supports | 7 | 08-14-2014 02:29 PM |
Mys v1.3.3 Merged Image Breeding Mod for Mys 1.3.3 | Missy Master | Mys v1.3.x Mods | 4 | 03-30-2013 11:39 AM |
Random breeding outcome/ rare breeding | SilverDragonTears | Questions and Supports | 0 | 03-25-2012 02:33 AM |
breeding | Ruffsta | Feedback and Suggestions | 3 | 06-06-2011 04:09 PM |
Breeding | Arianna | Questions and Supports | 27 | 10-30-2009 01:12 PM |
What's New? |
What's Hot? |
What's Popular? |