Welcome Guest, Not a member yet? Register   Sign In
Codeigniter is work 100% with PHP7.4.3? 07/03/2020

(This post was last modified: 12-02-2020, 10:32 AM by gmgj.)

I recently updated from ubuntu 18 to ubuntu 20 LTS

I have had multiple issues with :

ERROR - 2020-12-01 13:13:18 --> Severity: Warning --> count(): Parameter must be an array or an object that implements Countable /var/www/html/tlZsystem/libraries/Typography.php 176

ERROR - 2020-12-01 13:13:18 --> Severity: Notice --> Trying to access array offset on value of type bool

And issues where I return a 0 from a MYSQL table that is a valid value, that PHP know thinks is a bool

$post = $this->posts_model->get(array('id' =>$id));

The fix in all cases has been simple, cast the value to an int

$post = $this->posts_model->get(array('id' =>(int)$id));
I wrote my first program in 15 minutes. It took me 3 hours to keypunch it.

I wrote my first BASH script in 5 minutes. It took me a day to find out I had to put a . (period) in front of it to get it to execute.

Messages In This Thread
RE: Codeigniter is work 100% with PHP7.4.3? 07/03/2020 - by gmgj - 12-02-2020, 10:28 AM

Theme © iAndrew 2016 - Forum software by © MyBB