0
Welcome Guest! Login
0 items Join Now

SOLVED Error in error logs Return type of Pimple\Container::offsetUnse

    • Eoin's Avatar
    • Eoin
    • Hero Rocketeer
    • Posts: 413
    • Thanks: 17

    SOLVED Error in error logs Return type of Pimple\Container::offsetUnse

    Posted 1 year 1 month ago
    • I see this error in my error logs. I assume it's from the PHP version I'm using.
      [07-Mar-2023 13:51:20 Europe/London] PHP Deprecated:  Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/*****/public_html/libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php on line 143
      
    • Last Edit: 1 year 1 month ago by Eoin.
    • Just a lonely web designer trying to make his way
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Error in error logs Return type of Pimple\Container::offsetUnset(​​$id)

    Posted 1 year 1 month ago
    • Yup because you are using higher than PHP 8.0.x - downgrade for now - we’re in the process of making G5.5.16 at the moment to make it work with PHP 8.1.x and PHP 8.2.x

      Regards, Mark.
    • The following users have thanked you: Eoin

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.045 seconds