Repository navigation
Description
🐛 Bug Description
{title: "TypeError", type: "TypeError", code: 500,…}
code
:
500
file
:
"/app/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php"
line
:
288
message
:
"CodeIgniter\HTTP\Request::fetchGlobal(): Argument #3 ($filter) must be of type ?int, bool given, called in /app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 587"
title
:
"TypeError"
trace
:
[{file: "/app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php", line: 587,…},…]
type
:
"TypeError"
📋 Steps to Reproduce
{title: "TypeError", type: "TypeError", code: 500,…}
code
:
500
file
:
"/app/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php"
line
:
288
message
:
"CodeIgniter\HTTP\Request::fetchGlobal(): Argument #3 ($filter) must be of type ?int, bool given, called in /app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 587"
title
:
"TypeError"
trace
:
[{file: "/app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php", line: 587,…},…]
type
:
"TypeError"
✅ Expected Behavior
{title: "TypeError", type: "TypeError", code: 500,…}
code
:
500
file
:
"/app/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php"
line
:
288
message
:
"CodeIgniter\HTTP\Request::fetchGlobal(): Argument #3 ($filter) must be of type ?int, bool given, called in /app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 587"
title
:
"TypeError"
trace
:
[{file: "/app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php", line: 587,…},…]
type
:
"TypeError"
📦 OpenSourcePOS Version
development (unreleased)
🔧 PHP Version
PHP 8.5
🌐 Browser(s)
Chrome
🖥️ Server Operating System
unknown
🗄️ Database
unknown
🌍 Web Server
unknown
📊 System Information Report
{title: "TypeError", type: "TypeError", code: 500,…}
code
:
500
file
:
"/app/vendor/codeigniter4/framework/system/HTTP/RequestTrait.php"
line
:
288
message
:
"CodeIgniter\\HTTP\\Request::fetchGlobal(): Argument #3 ($filter) must be of type ?int, bool given, called in /app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php on line 587"
title
:
"TypeError"
trace
:
[{file: "/app/vendor/codeigniter4/framework/system/HTTP/IncomingRequest.php", line: 587,…},…]
type
:
"TypeError"
📜 Relevant Log Output
$submittedQuantities = $this->request->getPost(null, true) ?? []; is causing this issue?📸 Screenshots
$submittedQuantities = $this->request->getPost(null, true) ?? [];
✓ Confirmation
- I certify that this is an unmodified copy of OpenSourcePOS
- I have searched existing issues to ensure this bug has not already been reported
- I have provided all the information requested above
Activity