Fatal error: Call to a member function getPartials() on a non-object in /home/kscopesolutions/public_html/inc/site/controllers/Successstories.php on line 53

Uh oh!

You found an error!
Message: Call to a member function getPartials() on a non-object
File: /home/kscopesolutions/public_html/inc/site/controllers/Successstories.php:53
Request: http://www.kscopesolutions.com/success-stories/plan-c
Backtrace:
  1. /home/kscopesolutions/public_html/inc/site/controllers/Successstories.php line:53
    /home/kscopesolutions/public_html/inc/site/controllers/Successstories.php()
    48         /**Set up template and partials */
    49         $template = new Template("pages/success-details");
    50 
    51         /** @var Page $page */
    52         $page = Page::getByAdminKey("page-success-stories");
    53         $partials = $page->getPartials();
    54 
    55         if (is_null($page)) {
    56             Router::show404Error();
    57             die();
    58         }
    
  2. /home/kscopesolutions/public_html/inc/core/futurepoint/error/Error.php line:419
    futurepoint\error\Error->backtrace()
    414             'line' => $e->getLine(),
    415             'function' => $e->getFile(),
    416             'source' => self::source($e->getFile(), $e->getLine())
    417         ]];
    418 
    419         foreach (self::backtrace() as $item) {
    420             if (isset($item['file']) && isset($item['line'])) {
    421                 $item['source'] = self::source($item['file'], $item['line']);
    422                 $items[] = $item;
    423             }
    424         }
    
  3. /home/kscopesolutions/public_html/inc/core/futurepoint/error/Error.php line:258
    futurepoint\error\Error->getExceptionTemplate()
    253                 $template = self::getGenericTemplate();
    254             } else {
    255                 if (inAdmin() && Auth::isAdminLoggedIn()) {
    256                     $template = self::getAdminExceptionTemplate($e);
    257                 } else {
    258                     $template = self::getExceptionTemplate($e);
    259                 }
    260             }
    261 
    262             $response = new PageTemplate($template);
    263             $response->setCode(500);
    
  4. /home/kscopesolutions/public_html/inc/core/futurepoint/error/Error.php line:48
    futurepoint\error\Error->exception()
    43     public static function fatal() {
    44         if ($e = error_get_last()) {
    45             Logger::setFilename("error.log")->fatal("fatal()");
    46             Logger::setFilename("error.log")->fatal("error_get_last()");
    47             Logger::setFilename("error.log")->fatal($e);
    48             Error::exception(new ErrorException($e['message'], $e['type'], 0, $e['file'], $e['line']));
    49         } else {
    50             // Then there's no error, yay
    51         }
    52     }
    53