1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed RSS Feed {authors}

Discussion in 'Resolved Bug Reports' started by Lu Kas, Jan 15, 2011.

  1. Lu Kas

    Lu Kas Active Member

    Beta 6

    When i use {authors} in the message template field of the rss feed, i get this error on hitting "import now".

    Object of class Zend_Feed_Reader_Collection_Author could not be converted to string
       1. XenForo_Application::handlePhpError() in XenForo/Model/Feed.php at line 264
       2. XenForo_Model_Feed->_replaceTokens() in XenForo/Model/Feed.php at line 239
       3. XenForo_Model_Feed->prepareFeedEntry() in XenForo/Model/Feed.php at line 212
       4. XenForo_Model_Feed->prepareFeedData() in XenForo/Model/Feed.php at line 451
       5. XenForo_Model_Feed->importFeedData() in XenForo/ControllerAdmin/Feed.php at line 128
       6. XenForo_ControllerAdmin_Feed->actionImport() in XenForo/FrontController.php at line 310
       7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
       8. XenForo_FrontController->run() in /www/htdocs/v126843/dev/project/forum/admin.php at line 13
    when i use just {author} it works fine. i am posting this because in the description of the field it says:

    .... represent data from the feed: {title} {content} {authors} {link}
    Raitsa likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    That was mostly a typo, should be {author} (which supports multiple authors anyway).
    Vincent likes this.

Share This Page