Error with php8 and Version 2.8

QuestionsError with php8 and Version 2.8
Gerd Huber asked 3 years ago

Required parameter $grid follows optional parameter $depth
in Zeile 8489 in der Datei S:\o\HHC-FreudentalWebsite_neu\phpgrid\lib\inc\jqgrid_dist.php

3 Answers
Gerd Huber answered 3 years ago

Hallo Abu,

 

i am using php 8.0.12 and phpgrid version 2.8. You can test it with example bulk-edit.php.

 

View post on imgur.com

 

Regards

 

Gerd

Abu Ghufran Staff answered 3 years ago

Hello, I’ve emailed you the latest build.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
ahlarik answered 2 years ago

jqgrid_dist.php showing error on php 8.1
A PHP Error was encountered
Severity: Warning

Message: Undefined array key “editoptions”

Filename: inc/jqgrid_dist.php

Line Number: 1275
A PHP Error was encountered
Severity: Warning

Message: Undefined variable $e

Filename: controllers/cpanel.php

Line Number: 1616

Abu Ghufran Staff replied 2 years ago

Hello,

It’s recommended to set following settings for error displaying. By default the core library have this code but if it’s not there in your implementation, you can add this above php file.

The warning messages causes no harm to the application code, however it’s a good practive way to avoid warning as well.

error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED);
ini_set(“display_errors”,”off”);

Your Answer

17 + 10 =

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?