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

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/Inspiration.php:48
Request: http://www.kscopesolutions.com/inspiration/keep-calm-ask-a-wedding-planner
Backtrace:
  1. /home/kscopesolutions/public_html/inc/site/controllers/Inspiration.php line:48
    /home/kscopesolutions/public_html/inc/site/controllers/Inspiration.php()
    43         /**Set up template and partials */
    44         $template = new Template("pages/inspiration-details");
    45 
    46         /** @var Page $page */
    47         $page = Page::getByAdminKey("page-wedding-inspiration");
    48         $partials = $page->getPartials();
    49 
    50         if (is_null($page)) {
    51             Router::show404Error();
    52             die();
    53         }
    
  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