Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: DB query caching and php 7.2
Post: RE: DB query caching and php 7.2

InsiteFX Wrote: (12-28-2017, 05:12 AM) -- Is this a custom method? If not then it is wrong. PHP Code: -- $total = $this->db->count_all_results(); -- It should be. PHP Code: -- $total = $thi...
10,678 Views
9 Replies
12-28-2017, 07:24 AM
abonajd
    Thread: DB query caching and php 7.2
Post: RE: DB query caching and php 7.2

skunkbad Wrote: (12-26-2017, 02:19 PM) -- Is it possible that your code is triggering this warning, and that the warning is only happening because you are doing something wrong? -- this is an examp...
10,678 Views
9 Replies
12-27-2017, 08:48 AM
abonajd
    Thread: DB query caching and php 7.2
Post: RE: DB query caching and php 7.2

I didn't consider that because the code was working perfectly with PHP 7.0, the error didn't show until I upgraded to PHP 7.2
10,678 Views
9 Replies
12-26-2017, 03:55 PM
abonajd
    Thread: DB query caching and php 7.2
Post: RE: DB query caching and php 7.2

No, I am not sure and this partially why I posted it here. But what I thought is: if the count() return 0 then the loop will never be executed which make it safe to check for null before even try to r...
10,678 Views
9 Replies
12-26-2017, 01:19 PM
abonajd
    Thread: DB query caching and php 7.2
Post: DB query caching and php 7.2

Hello, I just upgraded my server to PHP 7.2 and faced an error in the line 2673 of the file DB_query_builder.php the error is a result of the change in the behavior of the function count() in PH...
10,678 Views
9 Replies
12-21-2017, 10:57 AM
abonajd

Theme © iAndrew 2016 - Forum software by © MyBB