Changing Code Type shows Unkown


But the changes are saved, or that what seems

hi @mohamed, what’s the screen that led to this?

1 Like

Hey @stephenwaite Administration > Lists > Code types.

Hi @mohamed, is there a related error in the php log and is this version 5.0.2?

1 Like

This v 6 patch 2, will check the log

APACHE error log

PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in D:\xampp\htdocs\openemr\interface\super\edit_list.php:76\nStack trace:\n#0 {main}\n thrown in D:\xampp\htdocs\openemr\interface\super\edit_list.php on line 76, referer: http://XXXX/openemr/interface/super/edit_list.php
PHP Warning: Array to string conversion in D:\xampp\htdocs\openemr\custom\code_types.inc.php on line 78, referer: http://XXXX/openemr/interface/main/tabs/main.php?token_main=XXXXX
XXXXPHP Warning: Array to string conversion in D:\xampp\htdocs\openemr\custom\code_types.inc.php on line 78, referer: http://XXXXX/openemr/interface/main/tabs/main.php?token_main=XXXX

thanks, what’s line 76 in edit_list.php look like?

1 Like

$ct_id = trim($iter[‘ct_id’]) + 0;

He’s running php8 on xampp so v6 still has issue with php8 and when the heck will the rain end in Florida.:slight_smile:

1 Like

this is fixed in rel-600, will be in the next patch

2 Likes

@sjpadgett Here you are :parasol_on_ground:

1 Like