Keyword

RSS feeds returns error

  • Vladimir Penzin
  • Vladimir Penzin's Avatar Topic Author
  • Offline
  • New Member
More
9 months 21 hours ago - 9 months 21 hours ago #171818 by Vladimir Penzin
Vladimir Penzin created the topic: RSS feeds returns error
hi,
K2 2.9.1 Joomla 3.9.5 got error when tried to enable rss channel on site
Call to undefined method Joomla\CMS\Document\FeedDocument::addCustomTag()
In K2 settings tried to turn on show link and icon but can't make it work
the link I use: https://my_site/component/k2/itemlist?format=feed&type=rss
Help
Vladimir
Attachments:
Last edit: 9 months 21 hours ago by Vladimir Penzin.

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
9 months 17 hours ago #171823 by Fotis
Fotis replied the topic: RSS feeds returns error
Switch to page source view in the browser and grab the entire error message as I need the file and exact line. It may not necessarily be K2, but a 3rd party plugin that does not properly check for the document type ("feed" in this case)...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Vladimir Penzin
  • Vladimir Penzin's Avatar Topic Author
  • Offline
  • New Member
More
9 months 17 hours ago - 9 months 16 hours ago #171826 by Vladimir Penzin
Vladimir Penzin replied the topic: RSS feeds returns error
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="ru-ru" lang="ru-ru" dir="ltr">
<head>
<title>0 - Ошибка: 0</title>
<script src="/cdn-cgi/apps/head/usbIir9gO6ZcjKm8RMunx5ByPyc.js"></script><link rel="stylesheet" href="/templates/ja_wall/css/error.css" type="text/css" />
<link href='//fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>

<link rel="stylesheet" href="/templates/ja_wall/themes/default/css/theme.css" type="text/css" media="all" />

</head>
<body>
<div class="error">
<div id="outline">
<div id="errorboxoutline">
<div id="error-code">0</div>
<div id="error-message">Call to undefined method Joomla\CMS\Document\FeedDocument::addCustomTag()</div>
<a id="back-home" href="/index.php" title="Вернуться на Домашнюю страницу">Домашняя страница</a>
<span id="text-tip"> </span>
</div>
</div>
</div>
</body>
</html>
Attachments:
Last edit: 9 months 16 hours ago by Vladimir Penzin.

Please Log in or Create an account to join the conversation.

  • Vladimir Penzin
  • Vladimir Penzin's Avatar Topic Author
  • Offline
  • New Member
More
8 months 4 weeks ago #171833 by Vladimir Penzin
Vladimir Penzin replied the topic: RSS feeds returns error
fixed, web push auto was the reason

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
8 months 4 weeks ago #171843 by Fotis
Fotis replied the topic: RSS feeds returns error
Glad you found the culprit.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

More
5 days 14 hours ago #174404 by Jay Murphy
Jay Murphy replied the topic: RSS feeds returns error
I am seeing this same error on our blog RSS feed. Here is the page code of the error:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" www.w3.org/1999/xhtml " xml:lang="en-gb" lang="en-gb" dir="ltr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>0 - Call to undefined method Joomla\CMS\Document\FeedDocument::addCustomTag()</title>
<link rel="stylesheet" href="/templates/purity_iii/css/error.css" type="text/css" />
</head>
<body>
<div class="error">
<div id="outline">
<div id="errorboxoutline">
<div id="errorboxheader">0 - Call to undefined method Joomla\CMS\Document\FeedDocument::addCustomTag()</div>
<div id="errorboxbody">
<p><strong>You may not be able to visit this page because of:</strong></p>
<ol>
<li>an <strong>out-of-date bookmark/favourite</strong></li>
<li>a search engine that has an <strong>out-of-date listing for this site</strong></li>
<li>a <strong>mistyped address</strong></li>
<li>you have <strong>no access</strong> to this page</li>
<li>The requested resource was not found.</li>
<li>An error has occurred while processing your request.</li>
</ol>
<p>
<strong>Please try one of the following pages:</strong>
<a class="btn btn-primary" href="/index.php" title="Go to the Home Page">Home Page</a>
</p>

<p>If difficulties persist, please contact the System Administrator of this site and report the error below..</p>

<div id="techinfo">
<p>Call to undefined method Joomla\CMS\Document\FeedDocument::addCustomTag()</p>

<p>
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 days 14 hours ago #174405 by Fotis
Fotis replied the topic: RSS feeds returns error
Vladimir mentioned that the problem came from another plugin. Check your plugins as well.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

More
5 days 14 hours ago #174407 by Jay Murphy
Jay Murphy replied the topic: RSS feeds returns error
Thanks Fotis that was it...
Turned on Debug and saw the "System - Custom Canonical" was the plugin called prior to this error.
we end up with different versions of URLs any recommendations on a good canonical extension for K2 items/blogs?

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
5 days 13 hours ago #174408 by Fotis
Fotis replied the topic: RSS feeds returns error
K2 has built-in support for canonical URLs (and much more). Make sure you're using the latest 2.10.2 release and then enable canonical URLs in the K2 Settings, under the "SEO" tab.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

More
5 days 12 hours ago #174411 by Jay Murphy
Jay Murphy replied the topic: RSS feeds returns error
Thanks Fotis - helped to optimize two things for my blog!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum