I'm getting several lines of these on index.php, not on other pages and only when I'm logged in
Which version of CPG are you running
Line 95 of include/debugger.inc.php contains the constant E_STRICT in CPG 1.6.26
E_STRICT was deprecated in PHP 8.4
https://php.watch/versions/8.4/E_STRICT-deprecated
Reverting to a slightly older version of PHP will avoid the problem until the CPG code is updated.