I found a warning in SQLiteeditor
Posted by dave at 05:53 on Tuesday 21st July 2026 [link]
line 616 should look like this to avoid warning:
$qs = preg_replace('/paging_' . $this->id . '=[-\d.]*&?/','',$_SERVER['QUERY_STRING'] ?? '');
the correction is " ?? ''" which avoids deprecated passing NULL to preg_replace, when the editor is invoked with no query string.
you're welcome !
Posted by Richard at 10:57 on Tuesday 21st July 2026 [link]
Thanks - I've added that in.
But isn't the $_SERVER['QUERY_STRING'] variable a blank string on your PHP if no query string is given? I tried on mine and it's just an empty string.
Post a reply