zenhack / ttrss-sandstorm

Sandstorm port of Tiny Tiny RSS
GNU General Public License v3.0
6 stars 2 forks source link

Error opening offer template panel #33

Closed ocdtrekkie closed 1 year ago

ocdtrekkie commented 2 years ago

So I mangled up my server a bit because I decided to move to port 443. However, I'm having some difficulty updating my clients. When I went to the tab in preferences to set up the app, I got an error, and the following in the grain log:

2022/07/02 08:19:10 Called Connect()
2022/07/02 08:19:10 New connection (#3)
2022/07/02 08:19:10 Receiving pb messages.
2022/07/02 08:19:12 Reading from websocket: websocket: close 1001 (going away)
2022/07/02 08:19:12 ceasing to receive pb messages
2022/07/02 08:19:12 Connection #3 closed
2022/07/02 08:19:13 [error] 82#82: *375 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Declaration of Pref_Mobile::csrf_ignore($method) must be compatible with Handler::csrf_ignore(string $method): bool in /opt/app/classes/pref/mobile.php on line 2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /backend.php?op=pref-mobile HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "ui-45fab915561ff07ef23dcba6f9586df1.ocdhost.sandcats.io"

I suspect the fix is right here: https://github.com/zenhack/ttrss-sandstorm/commit/987870074bd17e24c52e51abddfaf48d63ed2f09