ErrorException in /www/wp-content/themes/linxo/views/hero.pug:
Trying to access array offset on value of type null on line 7, offset 1

- \Lrtst\Locals::hero();
- global $loc;

- $bg = !empty($loc['bkg']) ? sprintf('background-image:url(%s)', $loc['bkg']) : '';

section(style!="{$bg}" class="hero {$loc['isBkg']}")

    .container
        .row
            .hero__content(class="justify-content-center align-self-center")

                h1.bigTitle!= getPostTitle($loc['title'])

                p.mb-4!= getPostExcerpt($loc['text'])
## /www/wp-content/themes/linxo/.cache/tp3Kb9n6io_G5rrqmficQfzv_i5j9tFfb7lXTw75wpA.php(298)
#0 /www/wp-content/themes/linxo/.cache/tp3Kb9n6io_G5rrqmficQfzv_i5j9tFfb7lXTw75wpA.php(298): Phug\Util\SandBox->Phug\Util\{closure}(2, 'Trying to acces...', '/www/wp-content...', 298)
#1 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/FileAdapter.php(100): include('/www/wp-content...')
#2 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/AbstractAdapter.php(103): Phug\Renderer\Adapter\FileAdapter->Phug\Renderer\Adapter\{closure}()
#3 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Adapter/FileAdapter.php(98): Phug\Renderer\AbstractAdapter->execute(Object(Closure), Array)
#4 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(145): Phug\Renderer\Adapter\FileAdapter->displayCached('/www/wp-content...', NULL, Object(Closure), Array)
#5 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(149): Phug\Renderer->Phug\Renderer\Partial\{closure}()
#6 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Util/Util/SandBox.php(38): Phug\Renderer->Phug\Renderer\Partial\{closure}()
#7 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(117): Phug\Util\SandBox->__construct(Object(Closure), NULL)
#8 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(134): Phug\Renderer->getNewSandBox(Object(Closure))
#9 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer/Partial/AdapterTrait.php(225): Phug\Renderer->getSandboxCall('', 'display', '/www/wp-content...', NULL, Object(Closure), Array)
#10 /www/wp-content/themes/linxo/vendor/phug/phug/src/Phug/Renderer/Renderer.php(251): Phug\Renderer->callAdapter('display', '/www/wp-content...', NULL, Object(Closure), Array)
#11 /www/wp-content/themes/linxo/vendor/pug-php/pug/src/Pug/Engine/Renderer.php(181): Phug\Renderer->displayFile('/www/wp-content...', Array)
#12 /www/wp-content/themes/linxo/inc/Routes.php(89): Pug\Engine\Renderer->displayFile('/www/wp-content...', Array)
#13 /www/wp-content/themes/linxo/inc/Routes.php(41): Lrtst\Routes::template('page/blog', Array)
#14 /wordpress/wp-includes/class-wp-hook.php(324): Lrtst\Routes->routes('')
#15 /wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#16 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#17 /www/wp-content/themes/linxo/index.php(3): do_action('routes')
#18 /wordpress/wp-includes/template-loader.php(106): include('/www/wp-content...')
#19 /wordpress/wp-blog-header.php(19): require_once('/wordpress/wp-i...')
#20 /www/index.php(17): require('/wordpress/wp-b...')
#21 {main}