Skip to content

Problem in Php 8.1.5 #5

@pranaycb

Description

@pranaycb

I don't know why this error is comming. It was working fine in PHP 7.3 version. But when I update my PHP version to 8.1.5 then it's giving me this error. Any solution?

A PHP Error was encountered
Severity: 8192

Message: Return type of Symfony\Component\HttpFoundation\ParameterBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: http-foundation/ParameterBag.php

Line Number: 220

Backtrace:

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\symfony\http-foundation\ParameterBag.php
Line: 19
Function: _error_handler

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\composer\ClassLoader.php
Line: 571
Function: include

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\composer\ClassLoader.php
Line: 428
Function: Composer\Autoload\includeFile

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\symfony\http-foundation\Request.php
Line: 273
Function: loadClass

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\symfony\http-foundation\Request.php
Line: 255
Function: initialize

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\symfony\http-foundation\Request.php
Line: 2095
Function: __construct

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\symfony\http-foundation\Request.php
Line: 314
Function: createRequestFromFactory

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\vendor\ngekoding\codeigniter-datatables\src\DataTables.php
Line: 41
Function: createFromGlobals

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\application\controllers\user\Devices.php
Line: 41
Function: __construct

File: C:\xampp\htdocs\projects\codeigniter\fastpay-payment-gateway\fastpay\index.php
Line: 315
Function: require_once

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions