I’m seeing the following show up in my tt-rss logs. The site is working. Is this something that is expected?

php: [tt-rss] E_NOTICE (8) (backend.php:164) Undefined index: op

Looking at line 164 of backend.php I see that “op” is used as an index into the dictionary _REQUEST. So perhaps a client is not sending the expected variables in the request?

I spent some more time with backend.php and see that $op is defined toward the top of the file and it handles the case where the request does not have an operation in it. So I changed the end of the file to reference that variable and the error has not shown up since then

print Errors::to_json(Errors::E_UNKNOWN_METHOD, [ "info" => (isset($handler) ? get_class($handler) : "UNKNOWN:".$op) . "->$method"]);

It’s been working for the the past week for me without error. I’ve put in a PR at https://git.tt-rss.org/fox/tt-rss/pulls/45