I am getting this error trying to access array offset on value of type bool

  codeigniter, javascript, laravel, php

Hi i am getting the below error

A PHP Error was encountered
Severity: Notice

Message: Trying to access array offset on value of type bool

Filename: front/register.php

Line Number: 100

Backtrace:

File: /home/esports/public_html/application/views/themes/front/register.php
Line: 100
Function: _error_handler

File: /home/esports/public_html/application/controllers/Register.php
Line: 109
Function: view

File: /home/esports/public_html/index.php
Line: 275
Function: require_once

Below is the code

<section class="bm-section-padding about-section bm-light-bg text-dark">
        <div class="container">
            <div class="row">
                <div class="col-md-12 text-center"><?php echo $page['page_content'];
                 ?></div>
                <div class="col-md-12 content">

                    <section class="bm-light-bg text-dark">

I am on php 7.4 and using codeignighter

Source: Laravel

Leave a Reply