PHP 7.3 many notices

#1

Hello,

there is a change in php 7.3 causing the command “compact” to create notices from\vendor\cakephp\cakephp\src\Http\Response.php line ~ 2050.

i changed the file to this:

    $checks = array();
    if (isset($etagMatches))
    {
        $checks[] = $etagMatches;
    }
    if (isset($timeMatches))
    {
        $checks[] = timeMatches;
    }

to avoid the notices. This is new to php 7.3 (there are no notices with php 7.2

kindly regards

#2

What notices do you get?

#3

You’d also really need to show us the original code, which caused the problems.