Topic: Can't Add Direct Invoice Item for some customers
For some customers mostly but not always customers with many transactions I can't add new item to the direct invoice and receive only
warning triangle without response to the request and leave no logs or footprint in php logs or nginx or php-fpm
https://i.ibb.co/vcWQknV/ibba.png
after debugging the issue seems to appear in the line containing
unset($_POST['_stock_id_edit'], $_POST['stock_id']);
in the function handle_new_item() while the $_POST['_stock_id_edit'], $_POST['stock_id'] are defined and I could print them with
display_error and such and also this unset() call work on some customers and didn't work on others
I tried to change my php version from 8.2 to 7.4 and it worked for while but then it stopped and never worked even when I clear the cache
I'm using nginx and php 8.2 in rocky linux 8
do anyone face same issue?