Moving to PHP 8 – Part2

QuestionsMoving to PHP 8 – Part2
Tim Moore asked 3 years ago

This page works in PHP 7, but not 8. I am using the latest build of PHP4GRID. On both tests 7 and 8.

Pleas let me know what information you will need. Error in the PHP LOG below.

[08-Feb-2022 14:23:01 Europe/Berlin] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in C:\xampp\htdocs\Kodiaccess_test\lib\inc\jqgrid_dist.php:4756
Stack trace:
#0 C:\xampp\htdocs\Kodiaccess_test\unit_equipment_list.php(649): jqgrid->render(‘list1’)
#1 {main}
thrown in C:\xampp\htdocs\Kodiaccess_test\lib\inc\jqgrid_dist.php on line 4756

 

Thanks,

Tim

3 Answers
Tim Moore answered 3 years ago

Sorry, should have added that the page, in PHP8, does not render at all. HTTP ERROR 500.

Thanks

Tim

Abu Ghufran Staff answered 3 years ago

Hi,

I’ve emailed you latest build.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Tim Moore answered 3 years ago

Abu,

That fixed the issue!

Thanks again,

Tim

Your Answer

1 + 6 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?