Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 52
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Warning
    [error_number] => 2
    [error_message] => array_key_exists() expects parameter 2 to be array, null given
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 52
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 66
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 0
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 66
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 1
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 66
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 2
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 66
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 3
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 66
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 4
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 66
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 5
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 6
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 6
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 6
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 6
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 7
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 7
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 7
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 7
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 8
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 8
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 8
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 8
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 9
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 9
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 9
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 9
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 10
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 10
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 10
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 10
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 11
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 11
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 11
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 11
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 12
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 12
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 12
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 12
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 13
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 13
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 13
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 13
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 14
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 14
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 14
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 14
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 15
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 15
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 15
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 15
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 16
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 16
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 16
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 17
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 17
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 17
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 17
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 18
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 18
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 18
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 18
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 19
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 19
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 19
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 19
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 20
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 72
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 20
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => jobs
                                            [label] => Job Board
                                            [action] => jobs
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 20
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 73
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => jobs
                                            [label] => Job Board
                                            [action] => jobs
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 20
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Array
(
    [error_type] => Notice
    [error_number] => 8
    [error_message] => Trying to get property of non-object
    [error_file] => /home/portfolio/apps/industryspotlight/framework/controllers/Layout.class.php
    [error_line] => 81
    [error_context] => Array
        (
            [ns] => controllers\
            [routes] => core\Routes Object
                (
                    [_route:core\Routes:private] => Array
                        (
                        )

                    [_routes:core\Routes:private] => Array
                        (
                            [default] => Array
                                (
                                    [name] => default
                                    [regex_pattern] => 
                                    [uri_pattern] => 
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Splash
                                    [method] => 
                                    [group] => 
                                )

                            [archive] => Array
                                (
                                    [name] => archive
                                    [regex_pattern] => i/articles/
                                    [uri_pattern] => i/articles/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => 
                                )

                            [articles] => Array
                                (
                                    [name] => articles
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/
                                    [uri_pattern] => i/articles/{type}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                        )

                                    [controller] => Company
                                    [method] => articles
                                    [group] => archive
                                )

                            [article] => Array
                                (
                                    [name] => article
                                    [regex_pattern] => i/articles/(all|student|teacher|sponsor)/([0-9]+)/
                                    [uri_pattern] => i/articles/{type}/{id}/
                                    [vars] => Array
                                        (
                                            [0] => type
                                            [1] => id
                                        )

                                    [controller] => Company
                                    [method] => article
                                    [group] => archive
                                )

                            [company] => Array
                                (
                                    [name] => company
                                    [regex_pattern] => i/([a-z-]+)/
                                    [uri_pattern] => i/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Company
                                    [method] => handler
                                    [group] => 
                                )

                            [supporters] => Array
                                (
                                    [name] => supporters
                                    [regex_pattern] => p/([a-z-]+)/
                                    [uri_pattern] => p/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Supporters
                                    [method] => handler
                                    [group] => 
                                )

                            [jobs] => Array
                                (
                                    [name] => jobs
                                    [regex_pattern] => c/jobs/
                                    [uri_pattern] => c/jobs/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Jobs
                                    [method] => view
                                    [group] => 
                                )

                            [job-listing] => Array
                                (
                                    [name] => job-listing
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/
                                    [uri_pattern] => c/jobs/{company}-{id}/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => Jobs
                                    [method] => job
                                    [group] => jobs
                                )

                            [job-apply] => Array
                                (
                                    [name] => job-apply
                                    [regex_pattern] => c/jobs/([a-z-]+)-([0-9+])/apply/
                                    [uri_pattern] => c/jobs/{company}-{id}/apply/
                                    [vars] => Array
                                        (
                                            [0] => company
                                            [1] => id
                                        )

                                    [controller] => External
                                    [method] => job
                                    [group] => 
                                )

                            [flv] => Array
                                (
                                    [name] => flv
                                    [regex_pattern] => v/video/([0-9]+)/
                                    [uri_pattern] => v/video/{video}/
                                    [vars] => Array
                                        (
                                            [0] => video
                                        )

                                    [controller] => FLV
                                    [method] => video
                                    [group] => 
                                )

                            [flv-player] => Array
                                (
                                    [name] => flv-player
                                    [regex_pattern] => v/player/
                                    [uri_pattern] => v/player/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => player
                                    [group] => 
                                )

                            [flv-install] => Array
                                (
                                    [name] => flv-install
                                    [regex_pattern] => v/install/
                                    [uri_pattern] => v/install/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => FLV
                                    [method] => install
                                    [group] => 
                                )

                            [video] => Array
                                (
                                    [name] => video
                                    [regex_pattern] => c/(videos)/([0-9]+)/
                                    [uri_pattern] => c/{page}/{video}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => video
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list] => Array
                                (
                                    [name] => list
                                    [regex_pattern] => c/([a-z-]+)/
                                    [uri_pattern] => c/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile] => Array
                                (
                                    [name] => profile
                                    [regex_pattern] => c/([a-z-]+)/([a-z-]+)/
                                    [uri_pattern] => c/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [list-schools] => Array
                                (
                                    [name] => list-schools
                                    [regex_pattern] => s/(post-secondary)/
                                    [uri_pattern] => s/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => ProfileList
                                    [method] => handler
                                    [group] => 
                                )

                            [profile-schools] => Array
                                (
                                    [name] => profile-schools
                                    [regex_pattern] => s/(post-secondary)/([a-z-]+)/
                                    [uri_pattern] => s/{page}/{name}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                            [1] => name
                                        )

                                    [controller] => Profile
                                    [method] => handler
                                    [group] => 
                                )

                            [teachers] => Array
                                (
                                    [name] => teachers
                                    [regex_pattern] => t/([a-z-]+)/
                                    [uri_pattern] => t/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => Teachers
                                    [method] => 
                                    [group] => 
                                )

                            [login] => Array
                                (
                                    [name] => login
                                    [regex_pattern] => u/login/
                                    [uri_pattern] => u/login/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => login
                                    [group] => 
                                )

                            [logout] => Array
                                (
                                    [name] => logout
                                    [regex_pattern] => u/logout/
                                    [uri_pattern] => u/logout/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => logout
                                    [group] => 
                                )

                            [register] => Array
                                (
                                    [name] => register
                                    [regex_pattern] => u/register/
                                    [uri_pattern] => u/register/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => register
                                    [group] => 
                                )

                            [forgot] => Array
                                (
                                    [name] => forgot
                                    [regex_pattern] => u/forgot/
                                    [uri_pattern] => u/forgot/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => forgot
                                    [group] => 
                                )

                            [activate] => Array
                                (
                                    [name] => activate
                                    [regex_pattern] => u/activate/
                                    [uri_pattern] => u/activate/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [activation] => Array
                                (
                                    [name] => activation
                                    [regex_pattern] => u/activate/([a-z0-9]+)/
                                    [uri_pattern] => u/activate/{code}/
                                    [vars] => Array
                                        (
                                            [0] => code
                                        )

                                    [controller] => Users
                                    [method] => activate
                                    [group] => 
                                )

                            [why-register] => Array
                                (
                                    [name] => why-register
                                    [regex_pattern] => u/register/(why)/
                                    [uri_pattern] => u/register/{page}/
                                    [vars] => Array
                                        (
                                            [0] => page
                                        )

                                    [controller] => StaticContent
                                    [method] => register
                                    [group] => 
                                )

                            [rss] => Array
                                (
                                    [name] => rss
                                    [regex_pattern] => rss/
                                    [uri_pattern] => rss/
                                    [vars] => Array
                                        (
                                        )

                                    [controller] => Feeds
                                    [method] => 
                                    [group] => 
                                )

                            [external] => Array
                                (
                                    [name] => external
                                    [regex_pattern] => out/([a-z-]+)/
                                    [uri_pattern] => out/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                            [social] => Array
                                (
                                    [name] => social
                                    [regex_pattern] => social/([a-z-]+)/
                                    [uri_pattern] => social/{name}/
                                    [vars] => Array
                                        (
                                            [0] => name
                                        )

                                    [controller] => External
                                    [method] => hit
                                    [group] => 
                                )

                        )

                )

            [menu] => Array
                (
                    [] => Array
                        (
                            [route] => default
                            [label] => Home
                            [action] => 
                            [submenu] => Array
                                (
                                )

                            [selected] => 
                            [current] => 
                        )

                    [careers] => Array
                        (
                            [route] => list
                            [label] => Careers
                            [action] => careers
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list
                                            [label] => Videos
                                            [action] => videos
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => list
                                            [label] => Industries
                                            [action] => industries
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => list
                                            [label] => Companies
                                            [action] => companies
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => jobs
                                            [label] => Job Board
                                            [action] => jobs
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [student] => Array
                        (
                            [route] => students
                            [label] => Students
                            [action] => student
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => list-schools
                                            [label] => Post-Secondary Institutions
                                            [action] => post-secondary
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => 
                                            [label] => Training
                                            [action] => training
                                            [selected] => 1
                                        )

                                )

                            [selected] => 1
                            [current] => 
                        )

                    [teacher] => Array
                        (
                            [route] => teachers
                            [label] => Teachers
                            [action] => teacher
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => teachers
                                            [label] => Curriculum
                                            [action] => curriculum
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => teachers
                                            [label] => Video Conferencing
                                            [action] => video-conferencing
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [supporters] => Array
                        (
                            [route] => supporters
                            [label] => Supporters
                            [action] => supporters
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => supporters
                                            [label] => Sponsors
                                            [action] => sponsors
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => supporters
                                            [label] => Partners
                                            [action] => partners
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => supporters
                                            [label] => Get Involved
                                            [action] => get-involved
                                            [selected] => 
                                        )

                                    [3] => Array
                                        (
                                            [route] => supporters
                                            [label] => Our Newsletter
                                            [action] => newsletter
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                    [company] => Array
                        (
                            [route] => company
                            [label] => Our Company
                            [action] => company
                            [submenu] => Array
                                (
                                    [0] => Array
                                        (
                                            [route] => company
                                            [label] => Newsroom
                                            [action] => newsroom
                                            [selected] => 
                                        )

                                    [1] => Array
                                        (
                                            [route] => archive
                                            [label] => Article Archive
                                            [action] => articles
                                            [selected] => 
                                        )

                                    [2] => Array
                                        (
                                            [route] => company
                                            [label] => Contact
                                            [action] => contact
                                            [selected] => 
                                        )

                                )

                            [selected] => 
                            [current] => 
                        )

                )

            [item] => models\MenuItems Object
                (
                    [_fields:protected] => Array
                        (
                            [menuid] => MenuID
                            [action] => Action
                            [label] => Label
                            [route] => Route
                            [sort] => Sort
                        )

                    [_keys:protected] => Array
                        (
                            [0] => menuid
                            [1] => action
                        )

                    [_join:protected] => Array
                        (
                            [0] => INNER JOIN {Menu} ON {Menu}.id={MenuItems}.menuid
                        )

                    [_where:protected] => Array
                        (
                        )

                    [_order:protected] => {MenuItems}.menuid ASC, {MenuItems}.sort ASC, {MenuItems}.label ASC
                    [_limit:protected] => 
                    [_custom:protected] => Array
                        (
                            [sql] => 
                            [params] => Array
                                (
                                )

                        )

                    [_db:protected] => PDO Object
                        (
                        )

                    [_i:protected] => 21
                    [_insert:protected] => 
                    [_results:protected] => Array
                        (
                            [0] => Array
                                (
                                    [menuid] => 1
                                    [action] => 
                                    [label] => Home
                                    [route] => default
                                    [sort] => 0
                                    [id] => 1
                                    [name] => main
                                )

                            [1] => Array
                                (
                                    [menuid] => 1
                                    [action] => careers
                                    [label] => Careers
                                    [route] => list
                                    [sort] => 10
                                    [id] => 1
                                    [name] => main
                                )

                            [2] => Array
                                (
                                    [menuid] => 1
                                    [action] => student
                                    [label] => Students
                                    [route] => students
                                    [sort] => 30
                                    [id] => 1
                                    [name] => main
                                )

                            [3] => Array
                                (
                                    [menuid] => 1
                                    [action] => teacher
                                    [label] => Teachers
                                    [route] => teachers
                                    [sort] => 31
                                    [id] => 1
                                    [name] => main
                                )

                            [4] => Array
                                (
                                    [menuid] => 1
                                    [action] => supporters
                                    [label] => Supporters
                                    [route] => supporters
                                    [sort] => 32
                                    [id] => 1
                                    [name] => main
                                )

                            [5] => Array
                                (
                                    [menuid] => 1
                                    [action] => company
                                    [label] => Our Company
                                    [route] => company
                                    [sort] => 40
                                    [id] => 1
                                    [name] => main
                                )

                            [6] => Array
                                (
                                    [menuid] => 2
                                    [action] => newsroom
                                    [label] => Newsroom
                                    [route] => company
                                    [sort] => 20
                                    [id] => 2
                                    [name] => company
                                )

                            [7] => Array
                                (
                                    [menuid] => 2
                                    [action] => articles
                                    [label] => Article Archive
                                    [route] => archive
                                    [sort] => 30
                                    [id] => 2
                                    [name] => company
                                )

                            [8] => Array
                                (
                                    [menuid] => 2
                                    [action] => contact
                                    [label] => Contact
                                    [route] => company
                                    [sort] => 50
                                    [id] => 2
                                    [name] => company
                                )

                            [9] => Array
                                (
                                    [menuid] => 3
                                    [action] => curriculum
                                    [label] => Curriculum
                                    [route] => teachers
                                    [sort] => 0
                                    [id] => 3
                                    [name] => teacher
                                )

                            [10] => Array
                                (
                                    [menuid] => 3
                                    [action] => video-conferencing
                                    [label] => Video Conferencing
                                    [route] => teachers
                                    [sort] => 20
                                    [id] => 3
                                    [name] => teacher
                                )

                            [11] => Array
                                (
                                    [menuid] => 4
                                    [action] => sponsors
                                    [label] => Sponsors
                                    [route] => supporters
                                    [sort] => 0
                                    [id] => 4
                                    [name] => supporters
                                )

                            [12] => Array
                                (
                                    [menuid] => 4
                                    [action] => partners
                                    [label] => Partners
                                    [route] => supporters
                                    [sort] => 10
                                    [id] => 4
                                    [name] => supporters
                                )

                            [13] => Array
                                (
                                    [menuid] => 4
                                    [action] => get-involved
                                    [label] => Get Involved
                                    [route] => supporters
                                    [sort] => 50
                                    [id] => 4
                                    [name] => supporters
                                )

                            [14] => Array
                                (
                                    [menuid] => 4
                                    [action] => newsletter
                                    [label] => Our Newsletter
                                    [route] => supporters
                                    [sort] => 51
                                    [id] => 4
                                    [name] => supporters
                                )

                            [15] => Array
                                (
                                    [menuid] => 5
                                    [action] => post-secondary
                                    [label] => Post-Secondary Institutions
                                    [route] => list-schools
                                    [sort] => 0
                                    [id] => 5
                                    [name] => student
                                )

                            [16] => Array
                                (
                                    [menuid] => 5
                                    [action] => training
                                    [label] => Training
                                    [route] => 
                                    [sort] => 20
                                    [id] => 5
                                    [name] => student
                                )

                            [17] => Array
                                (
                                    [menuid] => 6
                                    [action] => videos
                                    [label] => Videos
                                    [route] => list
                                    [sort] => 0
                                    [id] => 6
                                    [name] => careers
                                )

                            [18] => Array
                                (
                                    [menuid] => 6
                                    [action] => industries
                                    [label] => Industries
                                    [route] => list
                                    [sort] => 10
                                    [id] => 6
                                    [name] => careers
                                )

                            [19] => Array
                                (
                                    [menuid] => 6
                                    [action] => companies
                                    [label] => Companies
                                    [route] => list
                                    [sort] => 11
                                    [id] => 6
                                    [name] => careers
                                )

                            [20] => Array
                                (
                                    [menuid] => 6
                                    [action] => jobs
                                    [label] => Job Board
                                    [route] => jobs
                                    [sort] => 20
                                    [id] => 6
                                    [name] => careers
                                )

                        )

                )

        )

)
Industry Spotlight Canada - Home