Catchable fatal error

Recommend this page to a friend!

      RSS Feed Generator  >  All threads  >  Catchable fatal error  >  (Un) Subscribe thread alerts  
Subject:Catchable fatal error
Summary:Failure to convert channel object to XML string
Messages:1
Author:Roddy A. Stegemann
Date:2017-06-30 19:29:01
 

  1. Catchable fatal error   Reply   Report abuse  
Picture of Roddy A. Stegemann Roddy A. Stegemann - 2017-06-30 19:29:01
ERROR Message: Object of class rssGenerator_rss could not be converted to string

Please find below a print-out of my rssGenerator_channel object. Unfortunately, when I attempt to convert this object into an XML document with the following line of code I am shown the above error:

FAILED CONVERSION: $rss_feed->createFeed($rss_channel);

SUCCESSFULLY CREATED rssGenerator_channel OBJECT: rssGenerator_channel Object ( [atomLinkHref] => ./gc.xml [title] => Grammar Captive [link] => http://www.grammarcaptive.com/podcasting/_podcasts/ [description] => [language] => en [copyright] => 2016 [managingEditor] => [webMaster] => http://www.grammarcaptive.com/podcasting/_podcasts/ [pubDate] => 2017-06-29 09:50:52 [lastBuildDate] => 2017-06-29 09:50:52 [categories] => Array ( [0] => Array ( [domain] => [name] => education ) [1] => Array ( [domain] => [name] => language ) [2] => Array ( [domain] => [name] => English ) ) [generator] => [docs] => [ttl] => [image] => rssGenerator_image Object ( [url] => http://www.grammarcaptive.com/_images/captive.png [title] => Grammar Captive [link] => http://www.grammarcaptive.com [width] => 287 [height] => 290 [description] => Grammar Captive ) [textInput] => [skipHours] => Array ( ) [skipDays] => Array ( ) [cloud_domain] => [cloud_port] => 80 [cloud_path] => [cloud_registerProcedure] => [cloud_protocol] => [items] => Array ( [0] => rssGenerator_item Object ( [title] => Podcast #64 [description] => Practice Podcast [link] => http://www.grammarcaptive.com/podcast.html#episode_64 [author] => Roddy A. Stegemann [pubDate] => 2017-06-29 09:50:52 [comments] => http://www.grammarcaptive.com/wordpress/ [guid] => 30a6836a3f7c5fc57751a61098e5c2fc [guid_isPermaLink] => false [source] => Grammar Captive [source_url] => http://www.grammarcaptive.com/feed/gc.xml [enclosure_url] => http://www.grammarcaptive.com/podcasting/_podcasts/episode_010.m4a [enclosure_length] => 1202000 [enclosure_type] => audio/x-m4a [categories] => Array ( [item_category1] => Array ( [domain] => [name] => education ) [item_category2] => Array ( [domain] => [name] => language ) [item_category3] => Array ( [domain] => [name] => English ) ) ) [1] => rssGenerator_item Object ( [title] => Test [description] => Test [link] => http://www.grammarcaptive.com/podcast.html#episode_63 [author] => Roddy A. Stegemann [pubDate] => 2017-06-29 09:43:29 [comments] => http://www.grammarcaptive.com/wordpress/ [guid] => 30a6836a3f7c5fc57751a61098e5c2fc [guid_isPermaLink] => false [source] => Grammar Captive [source_url] => http://www.grammarcaptive.com/feed/gc.xml [enclosure_url] => http://www.grammarcaptive.com/podcasting/_podcasts/episode_010.m4a [enclosure_length] => 1202000 [enclosure_type] => audio/x-m4a [categories] => Array ( [item_category1] => Array ( [domain] => [name] => education ) [item_category2] => Array ( [domain] => [name] => language ) [item_category3] => Array ( [domain] => [name] => English ) ) ) [2] => rssGenerator_item Object ( [title] => New Title [description] => Test [link] => http://www.grammarcaptive.com/podcast.html#episode_60 [author] => Roddy A. Stegemann [pubDate] => 2017-06-19 17:32:35 [comments] => http://www.grammarcaptive.com/wordpress/ [guid] => 30a6836a3f7c5fc57751a61098e5c2fc [guid_isPermaLink] => false [source] => Grammar Captive [source_url] => http://www.grammarcaptive.com/feed/gc.xml [enclosure_url] => http://www.grammarcaptive.com/podcasting/_podcasts/episode_010.m4a [enclosure_length] => 1202000 [enclosure_type] => audio/x-m4a [categories] => Array ( [item_category1] => Array ( [domain] => [name] => education ) [item_category2] => Array ( [domain] => [name] => language ) [item_category3] => Array ( [domain] => [name] => English ) ) ) [3] => rssGenerator_item Object ( [title] => New Title [description] => Test [link] => http://www.grammarcaptive.com/podcast.html#episode_60 [author] => Roddy A. Stegemann [pubDate] => 2017-06-19 17:26:41 [comments] => http://www.grammarcaptive.com/wordpress/ [guid] => 30a6836a3f7c5fc57751a61098e5c2fc [guid_isPermaLink] => false [source] => Grammar Captive [source_url] => http://www.grammarcaptive.com/feed/gc.xml [enclosure_url] => http://www.grammarcaptive.com/podcasting/_podcasts/episode_010.m4a [enclosure_length] => 1202000 [enclosure_type] => audio/x-m4a [categories] => Array ( [item_category1] => Array ( [domain] => [name] => education ) [item_category2] => Array ( [domain] => [name] => language ) [item_category3] => Array ( [domain] => [name] => English ) ) ) [4] => rssGenerator_item Object ( [title] => New Title [description] => Test [link] => http://www.grammarcaptive.com/podcast.html#episode_60 [author] => Roddy A. Stegemann [pubDate] => 2017-06-19 17:24:23 [comments] => http://www.grammarcaptive.com/wordpress/ [guid] => 30a6836a3f7c5fc57751a61098e5c2fc [guid_isPermaLink] => false [source] => Grammar Captive [source_url] => http://www.grammarcaptive.com/feed/gc.xml [enclosure_url] => http://www.grammarcaptive.com/podcasting/_podcasts/episode_010.m4a [enclosure_length] => 1202000 [enclosure_type] => audio/x-m4a [categories] => Array ( [item_category1] => Array ( [domain] => [name] => education ) [item_category2] => Array ( [domain] => [name] => language ) [item_category3] => Array ( [domain] => [name] => English ) ) ) ) [extraXML] => )

 

For more information send a message to info at phpclasses dot org.