PHP 7.3 many notices


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

What notices do you get?

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