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

[4.0]Feed Display module uncaught error in rss.xml feed #29236

Closed
toivo opened this issue May 27, 2020 · 4 comments
Closed

[4.0]Feed Display module uncaught error in rss.xml feed #29236

toivo opened this issue May 27, 2020 · 4 comments

Comments

@toivo
Copy link
Contributor

toivo commented May 27, 2020

Steps to reproduce the issue

Create a News Feed category and item for http://feeds.bbci.co.uk/news/world/europe/rss.xml
Use this feed item in a Feed Display module.

Expected result

Should work the same way it works when set up as the menu item type News Feed - Single News Feed.

Actual result

Uncaught Throwable of type Error thrown with message "Object of class Joomla\CMS\Feed\FeedLink could not be converted to string" in C:\www\joomla4\modules\mod_feed\tmpl\default.php (line 99)

System information (as much as possible)

Nightly Build of 27 May on Wampserver 3.2.1 MySQL 8.0.19 PHP 7.4.5

Additional comments

@toivo
Copy link
Contributor Author

toivo commented May 27, 2020

2020-05-27T02:56:02+00:00 CRITICAL 127.0.0.1 error Uncaught Throwable of type Error thrown with message "Object of class Joomla\CMS\Feed\FeedLink could not be converted to string". Stack trace: #0 C:\www\joomla4\modules\mod_feed\mod_feed.php(20): require()
#1 C:\www\joomla4\libraries\src\Dispatcher\ModuleDispatcher.php(54): include('C:\www\joomla4\...')
#2 C:\www\joomla4\libraries\src\Dispatcher\ModuleDispatcher.php(57): Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}('C:\www\joomla4/...', NULL)
#3 C:\www\joomla4\libraries\src\Helper\ModuleHelper.php(300): Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()
#4 C:\www\joomla4\libraries\src\Helper\ModuleHelper.php(173): Joomla\CMS\Helper\ModuleHelper::renderRawModule(Object(stdClass), Object(Joomla\Registry\Registry), Array)
#5 C:\www\joomla4\libraries\src\Document\Renderer\Html\ModuleRenderer.php(97): Joomla\CMS\Helper\ModuleHelper::renderModule(Object(stdClass), Array)
#6 C:\www\joomla4\libraries\src\Document\Renderer\Html\ModulesRenderer.php(48): Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render(Object(stdClass), Array, NULL)
#7 C:\www\joomla4\libraries\src\Document\HtmlDocument.php(590): Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render('sidebar-left', Array, NULL)
#8 C:\www\joomla4\libraries\src\Document\HtmlDocument.php(899): Joomla\CMS\Document\HtmlDocument->getBuffer('modules', 'sidebar-left', Array)
#9 C:\www\joomla4\libraries\src\Document\HtmlDocument.php(661): Joomla\CMS\Document\HtmlDocument->_renderTemplate()
#10 C:\www\joomla4\libraries\src\Application\CMSApplication.php(972): Joomla\CMS\Document\HtmlDocument->render(false, Array)
#11 C:\www\joomla4\libraries\src\Application\SiteApplication.php(752): Joomla\CMS\Application\CMSApplication->render()
#12 C:\www\joomla4\libraries\src\Application\CMSApplication.php(237): Joomla\CMS\Application\SiteApplication->render()
#13 C:\www\joomla4\includes\app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#14 C:\www\joomla4\index.php(36): require_once('C:\www\joomla4\...')
#15 {main}


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29236.

@SharkyKZ
Copy link
Contributor

Once #29237 reaches 4.0, it will solve this issue.

@ghost
Copy link

ghost commented Sep 21, 2020

If Feed Image in Feed Display-Module is

Yes (default) No
Screen Shot 2020-09-21 at 18 01 39 Screen Shot 2020-09-21 at 18 01 59
White screen showing above lines works as expected

@SharkyKZ
Copy link
Contributor

SharkyKZ commented Nov 2, 2020

Closing this as #29237 has been merged into 4.0-dev via 9c5ad82.

@SharkyKZ SharkyKZ closed this as completed Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants