Exception - HorizontCMS

HorizontCMS Exception

There was an error!

Type: Error

Call to a member function isDraft() on null on line: 9
in: /home/bluehill/public_html/themes/BlueHill/page_templates/event_details.php

Backtrace:


#56 Function: require_once
File: /home/bluehill/public_html/app/Helpers/Website.php
Line: 50


#55 Function: handle_routing
File: /home/bluehill/public_html/themes/BlueHill/index.php
Line: 15


#54 Function: require_once
File: /home/bluehill/public_html/app/Libs/ThemeEngine.php
Line: 66


#53 Function: require_file
File: /home/bluehill/public_html/app/Libs/ThemeEngine.php
Line: 52


#52 Function: render
File: /home/bluehill/public_html/app/Controllers/WebsiteController.php
Line: 77


#51 Function: index
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
Line: 54


#50 Function: callAction
File: /home/bluehill/public_html/routes/web.php
Line: 66


#49 Function: {closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Routing/Route.php
Line: 238


#48 Function: runCallable
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Routing/Route.php
Line: 208


#47 Function: run
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
Line: 721


#46 Function: Illuminate\Routing\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 128


#45 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/WebsiteMiddleware.php
Line: 18


#44 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#43 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/EmailConfigMiddleware.php
Line: 25


#42 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#41 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/HttpsMiddleware.php
Line: 24


#40 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#39 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/LogLastUserActivity.php
Line: 29


#38 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#37 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/InstallerMiddleware.php
Line: 30


#36 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#35 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/SettingsMiddleware.php
Line: 29


#34 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#33 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
Line: 21


#32 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
Line: 31


#31 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#30 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
Line: 21


#29 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
Line: 40


#28 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#27 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
Line: 50


#26 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#25 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
Line: 78


#24 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#23 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
Line: 49


#22 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#21 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
Line: 121


#20 Function: handleStatefulRequest
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
Line: 64


#19 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#18 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
Line: 37


#17 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#16 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
Line: 67


#15 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#14 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/app/Http/Middleware/BaseUrlMiddleware.php
Line: 23


#13 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#12 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 103


#11 Function: then
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
Line: 723


#10 Function: runRouteWithinStack
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
Line: 698


#9 Function: runRoute
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
Line: 662


#8 Function: dispatchToRoute
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
Line: 651


#7 Function: dispatch
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Line: 167


#6 Function: Illuminate\Foundation\Http\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 128


#5 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
Line: 86


#4 Function: handle
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 167


#3 Function: Illuminate\Pipeline\{closure}
File: /home/bluehill/public_html/plugins/EventAndBooking/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
Line: 103


#2 Function: then
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Line: 142


#1 Function: sendRequestThroughRouter
File: /home/bluehill/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Line: 111


#0 Function: handle
File: /home/bluehill/public_html/index.php
Line: 53