Exception

Error

We're sorry, but an unhandled error occurred. Please see the details below.

Undefined variable $adsValue

~/plugins/businessbecause/news/controllers/http/controllers/News.php line 843

                                                .addSize([320, 0], [[300, 250]])
                                                .build();
 
                        googletag.defineSlot('/21707729713/BusinessBecause/bb_mbaranking_lb1', [[970,250],[728,90],[320,50]], 'div-gpt-ad-3460691-1')
                                .defineSizeMapping(mapping1)
                                .addService(googletag.pubads())
                                .setTargeting('schoolId', '$adsValue');;
                        googletag.defineSlot('/21707729713/BusinessBecause/bb_mbaranking_mpu1', [[300,600],[300,250]], 'div-gpt-ad-3460691-2')
                                .defineSizeMapping(mapping2)
                                .addService(googletag.pubads())
                                .setTargeting('schoolId', '$adsValue');;
 
                        googletag.pubads().enableSingleRequest();

Stack trace

# Called Code Document Line
40 BusinessBecause\News\Controllers\Http\Controllers\News->view_article() ~/plugins/businessbecause/news/components/Article.php 143
39 Businessbecause\News\Components\Article->loadPost() ~/plugins/businessbecause/news/components/Article.php 38
38 Businessbecause\News\Components\Article->onRun() ~/modules/cms/classes/CmsCompoundObject.php 179
37 Cms\Classes\CmsCompoundObject->runComponents() ~/modules/cms/classes/Controller.php 501
36 Cms\Classes\Controller->execPageCycle() ~/modules/cms/classes/Controller.php 389
35 Cms\Classes\Controller->runPage() ~/modules/cms/classes/Controller.php 222
34 Cms\Classes\Controller->run() ~/modules/cms/classes/CmsController.php 50
33 Cms\Classes\CmsController->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 54
32 Illuminate\Routing\Controller->callAction() ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 45
31 Illuminate\Routing\ControllerDispatcher->dispatch() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 219
30 Illuminate\Routing\Route->runController() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 176
29 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 681
28 Illuminate\Routing\Router->Illuminate\Routing\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 130
27 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/plugins/rainlab/translate/classes/LocaleMiddleware.php 29
26 RainLab\Translate\Classes\LocaleMiddleware->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
25 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php 41
24 Illuminate\Routing\Middleware\SubstituteBindings->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
23 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
22 Illuminate\View\Middleware\ShareErrorsFromSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
21 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 56
20 Illuminate\Session\Middleware\StartSession->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
19 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
18 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
17 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 67
16 Illuminate\Cookie\Middleware\EncryptCookies->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
15 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 105
14 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 683
13 Illuminate\Routing\Router->runRouteWithinStack() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 658
12 Illuminate\Routing\Router->runRoute() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 624
11 Illuminate\Routing\Router->dispatchToRoute() ~/vendor/october/rain/src/Router/CoreRouter.php 31
10 October\Rain\Router\CoreRouter->dispatch() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 170
9 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 130
8 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 63
7 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php 23
6 October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
5 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/plugins/offline/clockwork/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php 29
4 Clockwork\Support\Laravel\ClockworkMiddleware->handle() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 171
3 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 105
2 Illuminate\Pipeline\Pipeline->then() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 145
1 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 110
0 Illuminate\Foundation\Http\Kernel->handle() ~/index.php 43