Jump to content

Warning: Trying to access array offset on value of type bool - how to fix


Recommended Posts

i am getting this eror in prestashop 8.1.5 as soon as i open a product to edit

 

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

PrestaShop\PrestaShop\Core\Exception\ CoreException

in classes/Hook.php (line 431)

                }

            }

        } catch (Exception $e) {

            $environment = ServiceLocator::get('\\PrestaShop\\PrestaShop\\Adapter\\Environment');

            if ($environment->isDebug()) {

                throw new CoreException($e->getMessage(), $e->getCode(), $e);

            }

        }

        return '';

    }

 

is there a easy fix for this or is it a complex situation that i need to get a professional?

Screenshot 2024-08-01 at 19-17-32 Warning Trying to access array offset on value of type bool (500 Internal Server Error).png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...