View Single Post
  #3  
Old 09-23-2014, 10:20 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,413
IntoRain is on a distinguished road
Default

Blank page is a syntax error somewhere, it's best to post the code of the page giving problems.


"Call to undefined method OwnedAdoptable::get Owner()"

Well, there's a space there, it should be getOwner() not get Owner(). There's probably a typo somewhere. Did you change anything in levelupview or class_daycare? Is your getStats() function like this one?

PHP Code:
public function getStats($adopt){
        foreach(
$this->settings->info as $info){
            
$method "get".$info;
            
$stats .= "{$info}{$adopt->$method()}<br>";
        }
        return 
$stats;
    } 
__________________


asp.net stole my soul.
Reply With Quote