Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single Items showing up even when more are avaiable in Normal View #4215

Closed
quella opened this issue Feb 9, 2022 · 29 comments · Fixed by #4216
Closed

Single Items showing up even when more are avaiable in Normal View #4215

quella opened this issue Feb 9, 2022 · 29 comments · Fixed by #4216
Milestone

Comments

@quella
Copy link

quella commented Feb 9, 2022

I have been on the development track from 1.17 -> 1.20 and all have been great until the latest update in 1.20.0-dev. Thank you devs for all you do to keep the application innovative and adding such great features.

The issue I have recently run into is my 'Main Stream' or any of the sub groups only shows a single item only even when there are many other unread items using the Normal View pane. Wondering if I'm missing something obvious here. I tried the top buttons to select unread/read, unstarred, stared, etc. to no eval. I mostly access the application using a third-part reader so it is not a big issue at this time, but was not sure if this effects others.

Setup:
FreshRss running on RasberryPi
Browser accessing is Chrome (98.0.4758)

Attached images to show what I'm saying above.
Screen Shot 2022-02-09 at 10 02 15 AM
Screen Shot 2022-02-09 at 9 48 55 AM

@WillPresley
Copy link

WillPresley commented Feb 9, 2022

For what it's worth, I was having this issue on the Edge branch as well the last couple of days. There is a service worker error of some sort in the JS console, but I didn't have time to dig into it. I changed my branch to master and pulled down, all is well again. It's definitely something introduced since the last stable update. I tried clearing caches, data, cookies, etc. and tried in other browsers (Chrome, FF, Edge) as well.

@quella
Copy link
Author

quella commented Feb 9, 2022

Will, thanks for the confirmation that you are also seeing this behavior in Edge as well. I assumed it was something I missed on the latest update or a new button I needed to push. I will see what the dev team comes back with and I can wait until an update due to my use of the third party client (Reeder).

@quella
Copy link
Author

quella commented Feb 9, 2022

I tried this in Firefox and Safari on a Mac as well just to confirm a browser issue or not. What I did notice is that there is an indented feed source at the very bottom where the list stops displaying. See the attached image. 36 articles in the feed group but only 6 show in the reader pane and then you get the indented one at the bottom and everything stops.
Screen Shot 2022-02-09 at 3 13 50 PM

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

What are your settings under Reading? I don't see anything like this in Edgeany browser. Any extensions?

@quella
Copy link
Author

quella commented Feb 9, 2022

I'm on a Mac, but I get the same in Chrome, Firefox, and Safari (without any extensions). Was working prior to the last few updates. Here is my "Reading" configuration page if something is amiss here.

Screen Shot 2022-02-09 at 3 58 38 PM
Screen Shot 2022-02-09 at 4 01 09 PM

@WillPresley
Copy link

@Frenzie @Alkarex
I flipped back over to the edge branch to grab this screenshot. It looks like it may have something to do with browser notifications? I still haven't really looked into it, sorry, but I wanted to drop this here if it would help. Rolling back to master fixes it up right away.
freshrss-issue-4215_willpresley

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

Sorry, I meant FreshRSS extensions.

Notifications? In that case I'll take a closer look at #4193, #4023 and #4006.

@quella
Copy link
Author

quella commented Feb 9, 2022

I have not added any new extensions to the application myself, and using a third-party (google API) reader, it works fine. For me, it seems like it is an issue in displaying in a browser.

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

Hold on, which theme are you guys using?

@WillPresley
Copy link

I am using AD's Dark.

@quella
Copy link
Author

quella commented Feb 9, 2022

I have the default theme but in dark mode. Me as well

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

For me it definitely all contains:

<div id="notification" class="notification closed">
	<span class="msg"></span>
	<a class="close" href=""><img class="icon" src="../themes/icons/close.svg" alt="?" /></a>
</div>

@Alkarex Alkarex added this to the 1.20.0 milestone Feb 9, 2022
@WillPresley
Copy link

That block gets added to the DOM for me when running master, but not edge. The very last line of HTML when having the error is <li class="item thumbnail landscape small">, could this actually have something to do with the new inline images and whatnot? It is, all the same, only an issue stemming from commits since the last stable release.

@Alkarex
Copy link
Member

Alkarex commented Feb 9, 2022

Could you please check your Web server logs and FreshRSS logs for any warning / error?
./FreshRSS/data/users/*/log*.txt

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

I'm testing on the edge branch (latest commit 133e0d6).

The very last line of HTML when having the error is <li class="item thumbnail landscape small">

So you mean it's actually a PHP error? As @Alkarex said, that should show in the log.

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

PS Inline images?

@quella
Copy link
Author

quella commented Feb 9, 2022

I do see these in my recent logs.

[Sun, 06 Feb 2022 22:02:40 -0500] [warning] --- cURL error 28: Connection timed out after 15000 milliseconds [https://thycotic.com/feed/?%2F]
[Mon, 07 Feb 2022 03:21:38 -0500] [warning] --- cURL error 22: The requested URL returned error: 503 [https://live.paloaltonetworks.com/twzvq
79624/rss/board?board.id=CommunityBlog]
[Mon, 07 Feb 2022 10:03:42 -0500] [warning] --- cURL error 28: Operation timed out after 15001 milliseconds with 0 out of 0 bytes received [ht
tps://www.oodaloop.com/feed/]
[Mon, 07 Feb 2022 11:20:43 -0500] [warning] --- A feed could not be found at https://geekdad.com/feed/; the status code is 200 and content
-type is text/html; charset=utf-8 [https://geekdad.com/feed/]
[Mon, 07 Feb 2022 20:41:17 -0500] [warning] --- cURL error 28: Operation timed out after 15000 milliseconds with 0 bytes received [https://www
.psfk.com/feeds/psfk]
[Mon, 07 Feb 2022 22:01:36 -0500] [warning] --- cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received [https://www
.cnet.com/rss/news/]
[Tue, 08 Feb 2022 08:42:19 -0500] [warning] --- cURL error 28: Connection timed out after 15001 milliseconds [http://www.2600.com/rss.xml]
[Tue, 08 Feb 2022 08:43:45 -0500] [warning] --- Feed has invalid GUIDs: https://whdh.com/feed/
[Tue, 08 Feb 2022 10:00:58 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 10:02:16 -0500] [warning] --- cURL error 28: Connection timed out after 15001 milliseconds [http://www.2600.com/rss.xml]
[Tue, 08 Feb 2022 10:03:49 -0500] [warning] --- Feed has valid GUIDs again: https://whdh.com/feed/
[Tue, 08 Feb 2022 11:21:14 -0500] [warning] --- cURL error 22: The requested URL returned error: 503 Service Unavailable [http://feeds.laughin
gsquid.com/laughingsquid]
[Tue, 08 Feb 2022 11:21:24 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 11:22:35 -0500] [warning] --- cURL error 28: Connection timed out after 15001 milliseconds [http://www.2600.com/rss.xml]
[Tue, 08 Feb 2022 12:40:50 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 12:42:03 -0500] [warning] --- cURL error 28: Connection timed out after 15000 milliseconds [http://www.2600.com/rss.xml]
[Tue, 08 Feb 2022 12:43:44 -0500] [warning] --- cURL error 28: Operation timed out after 15000 milliseconds with 12288 out of 295204 bytes rec
eived [https://www.expositoryparenting.org/blog?format=rss]
[Tue, 08 Feb 2022 14:00:49 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 15:20:57 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 15:23:37 -0500] [warning] --- A feed could not be found at https://theoatmeal.com/feed/rss; the status code is 200 and c
ontent-type is application/xml; charset=ISO-8859-1; filename=feed.xml [https://theoatmeal.com/feed/rss]
[Tue, 08 Feb 2022 15:23:47 -0500] [warning] --- A feed could not be found at https://www.artstation.com/wlop.rss. Empty body. [https://www.a
rtstation.com/wlop.rss]
[Tue, 08 Feb 2022 16:41:10 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 18:00:50 -0500] [warning] --- https://stratechery.com/feed/ is invalid XML, likely due to invalid characters. XML error: Inv
alid character at line 43, column 37 [https://stratechery.com/feed/]
[Tue, 08 Feb 2022 20:42:46 -0500] [warning] --- cURL error 28: Operation timed out after 15000 milliseconds with 0 bytes received [https://www
.thefamilygamers.com/feed/]
[Tue, 08 Feb 2022 22:02:00 -0500] [warning] --- cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received [https://the
cripplegate.com/feed/]
[Wed, 09 Feb 2022 10:00:54 -0500] [warning] --- cURL error 28: Operation timed out after 15000 milliseconds with 0 bytes received [https://www
.jwz.org/blog/feed/]
[Wed, 09 Feb 2022 11:21:26 -0500] [warning] --- cURL error 22: The requested URL returned error: 500 Internal Server Error [https://www.psfk.c
om/feeds/psfk]
[Wed, 09 Feb 2022 11:21:41 -0500] [warning] --- cURL error 28: Operation timed out after 15000 milliseconds with 1998839 out of 3100108 bytes
received [https://www.trustedreviews.com/feed]
[Wed, 09 Feb 2022 12:43:53 -0500] [warning] --- Feed has invalid GUIDs: https://whdh.com/feed/
[Wed, 09 Feb 2022 14:03:44 -0500] [warning] --- Feed has valid GUIDs again: https://whdh.com/feed/
[Wed, 09 Feb 2022 15:23:15 -0500] [warning] --- Feed has invalid GUIDs: https://whdh.com/feed/

@quella
Copy link
Author

quella commented Feb 9, 2022

Here is my browser inspect as well when I try to display the MAIN STREAM. Only one ERROR shown.

Screen Shot 2022-02-09 at 4 30 39 PM

@Frenzie
Copy link
Member

Frenzie commented Feb 9, 2022

If you use the left hand categories, are you able to narrow it down to a specific feed?

@quella
Copy link
Author

quella commented Feb 9, 2022

It looks like most feeds and feed groups give the same error. I did found a feed that shows two new items and no errors. Screenshots below.

Screen Shot 2022-02-09 at 4 41 04 PM

Screen Shot 2022-02-09 at 4 40 49 PM

@Alkarex
Copy link
Member

Alkarex commented Feb 9, 2022

There are probably more messages in your Web server logs. Could you have a look?

@quella
Copy link
Author

quella commented Feb 9, 2022

I do see these in the freshrss.error.logs

2022/02/09 16:43:38 [error] 540#540: *6758 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1455 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:39 [error] 540#540: *6758 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returne" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i
/?a=normal&get=f_1457 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:39 [error] 540#540: *6758 FastCGI sent in stderr: "d in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1457 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:41 [error] 540#540: *6758 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1450 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:46 [error] 540#540: *6758 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=c_36 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:50 [error] 540#540: *6756 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1431 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:52 [error] 540#540: *6756 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1432 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:55 [error] 540#540: *6756 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1431 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:43:59 [error] 540#540: *6756 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1432 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"
2022/02/09 16:44:03 [error] 540#540: *6756 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Return value of FreshRSS_
Entry::thumbnail() must be of the type string, array returned in /var/www/freshrss/app/Models/Entry.php:131
Stack trace:
#0 /var/www/freshrss/app/views/helpers/index/normal/entry_header.phtml(43): FreshRSS_Entry->thumbnail()
#1 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#2 /var/www/freshrss/lib/Minz/View.php(132): Minz_View->includeFile('/views/helpers/...')
#3 /var/www/freshrss/app/views/index/normal.phtml(71): Minz_View->renderHelper('index/normal/en...')
#4 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#5 /var/www/freshrss/lib/Minz/View.php(110): Minz_View->includeFile('/views/index/no...')
#6 /var/www/freshrss/app/layout/layout.phtml(60): Minz_View->render()
#7 /var/www/freshrss/lib/Minz/View.php(88): include('/var/www/freshr...')
#8 /var/www/freshrss/lib/Minz/View.php(101): Minz_View->includeFile('/layout/layout....')
#9 /var/www/freshrss/lib/Minz/View.php(68): Minz" while reading upstream, client: 192.168.99.78, server: localhost, request: "GET /i/?a=normal&g
et=f_1431 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "192.168.99.54"

@math-GH
Copy link
Contributor

math-GH commented Feb 9, 2022

I had that error too. Something is broken there and I had to reinstall my instance. I thought that I broke it.

You can see in the first screenshots, that the title and date of the article is not shown anymore, because the error appears while fetching the article.
You would see the error in the frontend, when you switch from production mode to development mode (data/config.php)

@Alkarex
Copy link
Member

Alkarex commented Feb 9, 2022

Fix coming

Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Feb 9, 2022
Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Feb 9, 2022
@Alkarex
Copy link
Member

Alkarex commented Feb 9, 2022

#4216

Alkarex added a commit that referenced this issue Feb 9, 2022
* Fix thumbnail PHP type hint
 #4215

* Blank
@Alkarex
Copy link
Member

Alkarex commented Feb 9, 2022

Please update your edge branch and report

@WillPresley
Copy link

@Alkarex Updated edge, and it's all working well again! Thank you for the fix. Sorry to have not been around there to give logs, day-job took over.

@Alkarex
Copy link
Member

Alkarex commented Feb 9, 2022

Thanks for the feedback. It is very valuable to have tests of the edge branch with various configurations

@quella
Copy link
Author

quella commented Feb 9, 2022

Sorry for the delay in my reply as well... Work always gets in the way. Things are back to normal once again after an update! Thank you all.

Alkarex added a commit that referenced this issue Feb 28, 2022
* More PHP type hints for Fever
Follow-up of #4201
Related to #4200

* Detail

* Draft

* Progress

* More draft

* Fix thumbnail PHP type hint
#4215

* More types

* A bit more

* Refactor FreshRSS_Entry::fromArray

* Progress

* Starts to work

* Categories

* Fonctional

* Layout update

* Fix relative URLs

* Cache system

* Forgotten files

* Remove a debug line

* Automatic form validation of XPath expressions

* data-leave-validation

* Fix reload action

* Simpler examples

* Fix column type for PostgreSQL

* Enforce HTTP encoding

* Readme

* Fix get full content

* target="_blank"

* gitignore

* htmlspecialchars_utf8

* Implement HTML <base>
And fix/revert `xml:base` support in SimplePie simplepie/simplepie@e49c578

* SimplePie upstream PR merged
simplepie/simplepie#723
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants