XF2 [8WR] XenRio 2 (Streams) PRO

XF2 [8WR] XenRio 2 (Streams) PRO [Paid] 2.3.0.3

No permission to buy ($40.00)
That is by design. YouTube does not have universal channel embed codes. So unless a stream is detected as live, there will be errors in the embed code... because we don't know the parameters of the current live stream's video... because as I said, YouTube does not have universal embed codes.

So until a channel is actually live, and the live video is available through the YouTube API... you won't be able to view a YouTube stream.

Well, it was live at the time I tried to add it. Still didn't work. To test I just took a random stream that was live now, tried to add it, and it didn't work. No video or chat.
 
That would be because that specific channel has video embedding disabled for their channel.

huh, didn't know that was a thing. Can you give a YT link to a stream that works on your end? Just so I can test to see how it looks.
 
Category streams work but featured streams all say offline and all say Last activity: Dec 31, 1969 But 7 of the 10 featured are online on Twich right now and after 5 scrapes the Offline since 1969 remains.
 
Got two random errors in log, I had to remove chunks of the second error as too long for this post:

Code:
ErrorException: [E_NOTICE] Undefined offset: 146617546 src/addons/EWR/Rio/Api/Twitch.php:260
Generated by: Unknown account Feb 13, 2018 at 5:15 PM
Stack trace
#0 src/addons/EWR/Rio/Api/Twitch.php(260): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/legendo1/...', 260, Array)
#1 src/addons/EWR/Rio/Api/Twitch.php(72): EWR\Rio\Api\Twitch::dumpGames(Object(EWR\Rio\Entity\Service), '110', Array, Array)
#2 [internal function]: EWR\Rio\Api\Twitch::dumpStreams(Object(EWR\Rio\Entity\Service), '110', Array, Array)
#3 src/addons/EWR/Rio/Repository/Stream.php(47): call_user_func_array(Array, Array)
#4 src/addons/EWR/Discord/Repository/Stream.php(12): EWR\Rio\Repository\Stream->scrapeStreams()
#5 src/addons/EWR/Rio/Cron/Scrape.php(14): EWR\Discord\Repository\Stream->scrapeStreams()
#6 [internal function]: EWR\Rio\Cron\Scrape::scrapeStreams(Object(XF\Entity\CronEntry))
#7 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#8 src/XF/Job/Manager.php(241): XF\Job\Cron->run(7.9999990463257)
#9 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#10 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#11 job.php(15): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(25) "https://www.gnonline.net/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}



Code:
XF\Db\DuplicateKeyException: MySQL query error [1048]: Column 'stream_value1' cannot be null src/XF/Db/AbstractStatement.php:212
Generated by: Unknown account Feb 13, 2018 at 5:15 PM
Stack trace
INSERT  INTO `ewr_rio_streams` (`channel_id`, `game_id`, `service_id`, `stream_value1`, `stream_value2`, `stream_title`, `stream_status`, `stream_game`, `stream_viewers`, `stream_preview`, `stream_thumb`, `stream_featured`, `stream_start`, `stream_date`) VALUES (0,2,4,'lffn','53831525','LFFN','Ranked & BEGONE VEGETA','Dragon Ball FighterZ',1371,'https://static-cdn.jtvnw.net/previews-ttv/live_user_lffn-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/e0c6f62617439ce0-profile_image-300x300.jpeg',0,1518538741,1518542146),
(0,2,4,'majinobama','36725432','Majinobama','Tokaigi/NLBC Review -DBFZ BIBLE & rev2 giveaway at 200 subs-','Dragon Ball FighterZ',556,'https://static-cdn.jtvnw.net/previews-ttv/live_user_majinobama-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/majinobama-profile_image-a17cb75f24861204-300x300.jpeg',0,1518536935,1518542146),
(0,2,4,'everyeyeit','52160263','Everyeyeit','Dragon Ball FighterZ - Torneo Tenkaichi (feat Schiaccisempre)','Dragon Ball FighterZ',416,'https://static-cdn.jtvnw.net/previews-ttv/live_user_everyeyeit-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/everyeyeit-profile_image-62f6da034072d1a2-300x300.png',0,1518537960,1518542146),
(0,2,4,'imricosuave','59526251','ImRicoSuave','Nappa Clappa Time 2H','Dragon Ball FighterZ',157,'https://static-cdn.jtvnw.net/previews-ttv/live_user_imricosuave-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/imricosuave-profile_image-15b1d64e69bdf714-300x300.jpeg',0,1518528999,1518542146),
(0,1,4,'ms0319612','45734390','狗狗','【狗狗】喔喔喔 明天炸裝','MapleStory',104,'https://static-cdn.jtvnw.net/previews-ttv/live_user_ms0319612-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/ms0319612-profile_image-175b2a45056b4694-300x300.jpeg',1,1518535094,1518542146),
(0,2,4,'madkof_kof','103482309','Madkof_kof','[MADKOF] Dragon Ball FighterZ  PS4 and PC  잠깐 ~!','Dragon Ball FighterZ',100,'https://static-cdn.jtvnw.net/previews-ttv/live_user_madkof_kof-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/a0b93645-035d-499c-8ff6-954c9e053ef5-profile_image-300x300.png',0,1518540484,1518542146),
(0,2,4,'whatiskami','134759417','whatiskami','UYU KAMI quick stream','Dragon Ball FighterZ',86,'https://static-cdn.jtvnw.net/previews-ttv/live_user_whatiskami-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/27cf49da-1d52-4f2f-9fca-746dabb9411b-profile_image-300x300.png',0,1518540484,1518542146),
(0,2,4,'nukky2000','12vnw.net/previews-ttv/live_user_kahikusu-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/fbbb8865db905b63-profile_image-300x300.jpeg',0,1518539343,1518542146),
(0,2,4,'dekillsage','9192736','dekillsage','Talk softly and unify the world.','Dragon Ball FighterZ',48,'https://static-cdn.jtvnw.net/previews-ttv/live_user_dekillsage-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/dekillsage-profile_image-d1cfef2d44d78235-300x300.png',0,1518540484,1518542146),
(0,1,4,'scardor','47193301','Scardor','[Reboot] Sengoku+Maplehood Watch soon! DA/MM/Mules','MapleStory',38,'https://static-cdn.jtvnw.net/previews-ttv/live_user_scardor-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/scardor-profile_image-48f8fdf3c622f232-300x300.png',1,1518521408,1518542146),
(0,2,4,'lorddvd','8902405','LordDVD','Quand je serai grand, je serai moustachu comme Nappa !','Dragon Ball FighterZ',36,'https://static-cdn.jtvnw.net/previews-ttv/live_user_lorddvd-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/lorddvd-profile_image-746958b1bb695472-300x300.jpeg',0,1518522501,1518542146),
(0,1,4,'iarekye','62056605','iarekye','[GMS Reboot] Late Nights With Kye','MapleStory',26,'https://static-cdn.jtvnw.net/previews-ttv/live_user_iarekye-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/d194fab5-f662-4137-8331-8842155edba6-profile_image-300x300.jpg',1,1518513975,1518542146),
(0,2,4,'skillerstyles','106907599','skillerstyles','Infos Zum Neuen Turnier gibt es Hier! !Turnier','Dragon Ball FighterZ',25,'https://static-cdn.jtvnw.net/previews-ttv/live_user_skillerstyles-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/9ae590e0-0ecb-4315-9eda-0c49fa532666-profile_image-300x300.jpg',0,1518539343,1518542146),
agon Ball FighterZ',0,'https://static-cdn.jtvnw.net/previews-ttv/live_user_papaprimas-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/papaprimas-profile_image-f687ace438355937-300x300.jpeg',0,1518530796,1518542146),
(0,1,4,'rangso0204','192418631','랑쏘','랑쏘 멮린이 메이플스토뤼 힐링 ~_~','MapleStory',0,'https://static-cdn.jtvnw.net/previews-ttv/live_user_rangso0204-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/dacbfa55e77102e5-profile_image-300x300.png',1,1518527744,1518542146)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1048, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1048, '23000')
#2 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(206): XF\Db\AbstractAdapter->query('INSERT  INTO `e...')
#4 src/addons/EWR/Rio/Repository/Stream.php(80): XF\Db\AbstractAdapter->insertBulk('ewr_rio_streams', Array)
#5 src/addons/EWR/Discord/Repository/Stream.php(12): EWR\Rio\Repository\Stream->scrapeStreams()
#6 src/addons/EWR/Rio/Cron/Scrape.php(14): EWR\Discord\Repository\Stream->scrapeStreams()
#7 [internal function]: EWR\Rio\Cron\Scrape::scrapeStreams(Object(XF\Entity\CronEntry))
#8 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#9 src/XF/Job/Manager.php(241): XF\Job\Cron->run(7.9999990463257)
#10 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#11 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#12 job.php(15): XF\Job\Manager->runQueue(false, 8)
#13 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(25) "https://www.gnonline.net/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Just bought & implemented and it seems that even Twitch scrapes very slow. Once I stopped streaming, for instance, it took like 5 minutes to clear the "1" from the menu.

Is there a way to make it scrape faster and lose some of the lag? (I assume the code event listener, but I didn't want to mess.)
 
Just bought & implemented and it seems that even Twitch scrapes very slow. Once I stopped streaming, for instance, it took like 5 minutes to clear the "1" from the menu.

Is there a way to make it scrape faster and lose some of the lag? (I assume the code event listener, but I didn't want to mess.)
The scrape is set to run once every 15 minutes in the Cron menu. You can increase the timer from there.

Got two random errors in log, I had to remove chunks of the second error as too long for this post:

Code:
ErrorException: [E_NOTICE] Undefined offset: 146617546 src/addons/EWR/Rio/Api/Twitch.php:260
Generated by: Unknown account Feb 13, 2018 at 5:15 PM
Stack trace
#0 src/addons/EWR/Rio/Api/Twitch.php(260): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/legendo1/...', 260, Array)
#1 src/addons/EWR/Rio/Api/Twitch.php(72): EWR\Rio\Api\Twitch::dumpGames(Object(EWR\Rio\Entity\Service), '110', Array, Array)
#2 [internal function]: EWR\Rio\Api\Twitch::dumpStreams(Object(EWR\Rio\Entity\Service), '110', Array, Array)
#3 src/addons/EWR/Rio/Repository/Stream.php(47): call_user_func_array(Array, Array)
#4 src/addons/EWR/Discord/Repository/Stream.php(12): EWR\Rio\Repository\Stream->scrapeStreams()
#5 src/addons/EWR/Rio/Cron/Scrape.php(14): EWR\Discord\Repository\Stream->scrapeStreams()
#6 [internal function]: EWR\Rio\Cron\Scrape::scrapeStreams(Object(XF\Entity\CronEntry))
#7 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#8 src/XF/Job/Manager.php(241): XF\Job\Cron->run(7.9999990463257)
#9 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#10 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#11 job.php(15): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(25) "https://www.gnonline.net/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}



Code:
XF\Db\DuplicateKeyException: MySQL query error [1048]: Column 'stream_value1' cannot be null src/XF/Db/AbstractStatement.php:212
Generated by: Unknown account Feb 13, 2018 at 5:15 PM
Stack trace
INSERT  INTO `ewr_rio_streams` (`channel_id`, `game_id`, `service_id`, `stream_value1`, `stream_value2`, `stream_title`, `stream_status`, `stream_game`, `stream_viewers`, `stream_preview`, `stream_thumb`, `stream_featured`, `stream_start`, `stream_date`) VALUES (0,2,4,'lffn','53831525','LFFN','Ranked & BEGONE VEGETA','Dragon Ball FighterZ',1371,'https://static-cdn.jtvnw.net/previews-ttv/live_user_lffn-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/e0c6f62617439ce0-profile_image-300x300.jpeg',0,1518538741,1518542146),
(0,2,4,'majinobama','36725432','Majinobama','Tokaigi/NLBC Review -DBFZ BIBLE & rev2 giveaway at 200 subs-','Dragon Ball FighterZ',556,'https://static-cdn.jtvnw.net/previews-ttv/live_user_majinobama-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/majinobama-profile_image-a17cb75f24861204-300x300.jpeg',0,1518536935,1518542146),
(0,2,4,'everyeyeit','52160263','Everyeyeit','Dragon Ball FighterZ - Torneo Tenkaichi (feat Schiaccisempre)','Dragon Ball FighterZ',416,'https://static-cdn.jtvnw.net/previews-ttv/live_user_everyeyeit-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/everyeyeit-profile_image-62f6da034072d1a2-300x300.png',0,1518537960,1518542146),
(0,2,4,'imricosuave','59526251','ImRicoSuave','Nappa Clappa Time 2H','Dragon Ball FighterZ',157,'https://static-cdn.jtvnw.net/previews-ttv/live_user_imricosuave-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/imricosuave-profile_image-15b1d64e69bdf714-300x300.jpeg',0,1518528999,1518542146),
(0,1,4,'ms0319612','45734390','狗狗','【狗狗】喔喔喔 明天炸裝','MapleStory',104,'https://static-cdn.jtvnw.net/previews-ttv/live_user_ms0319612-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/ms0319612-profile_image-175b2a45056b4694-300x300.jpeg',1,1518535094,1518542146),
(0,2,4,'madkof_kof','103482309','Madkof_kof','[MADKOF] Dragon Ball FighterZ  PS4 and PC  잠깐 ~!','Dragon Ball FighterZ',100,'https://static-cdn.jtvnw.net/previews-ttv/live_user_madkof_kof-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/a0b93645-035d-499c-8ff6-954c9e053ef5-profile_image-300x300.png',0,1518540484,1518542146),
(0,2,4,'whatiskami','134759417','whatiskami','UYU KAMI quick stream','Dragon Ball FighterZ',86,'https://static-cdn.jtvnw.net/previews-ttv/live_user_whatiskami-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/27cf49da-1d52-4f2f-9fca-746dabb9411b-profile_image-300x300.png',0,1518540484,1518542146),
(0,2,4,'nukky2000','12vnw.net/previews-ttv/live_user_kahikusu-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/fbbb8865db905b63-profile_image-300x300.jpeg',0,1518539343,1518542146),
(0,2,4,'dekillsage','9192736','dekillsage','Talk softly and unify the world.','Dragon Ball FighterZ',48,'https://static-cdn.jtvnw.net/previews-ttv/live_user_dekillsage-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/dekillsage-profile_image-d1cfef2d44d78235-300x300.png',0,1518540484,1518542146),
(0,1,4,'scardor','47193301','Scardor','[Reboot] Sengoku+Maplehood Watch soon! DA/MM/Mules','MapleStory',38,'https://static-cdn.jtvnw.net/previews-ttv/live_user_scardor-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/scardor-profile_image-48f8fdf3c622f232-300x300.png',1,1518521408,1518542146),
(0,2,4,'lorddvd','8902405','LordDVD','Quand je serai grand, je serai moustachu comme Nappa !','Dragon Ball FighterZ',36,'https://static-cdn.jtvnw.net/previews-ttv/live_user_lorddvd-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/lorddvd-profile_image-746958b1bb695472-300x300.jpeg',0,1518522501,1518542146),
(0,1,4,'iarekye','62056605','iarekye','[GMS Reboot] Late Nights With Kye','MapleStory',26,'https://static-cdn.jtvnw.net/previews-ttv/live_user_iarekye-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/d194fab5-f662-4137-8331-8842155edba6-profile_image-300x300.jpg',1,1518513975,1518542146),
(0,2,4,'skillerstyles','106907599','skillerstyles','Infos Zum Neuen Turnier gibt es Hier! !Turnier','Dragon Ball FighterZ',25,'https://static-cdn.jtvnw.net/previews-ttv/live_user_skillerstyles-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/9ae590e0-0ecb-4315-9eda-0c49fa532666-profile_image-300x300.jpg',0,1518539343,1518542146),
agon Ball FighterZ',0,'https://static-cdn.jtvnw.net/previews-ttv/live_user_papaprimas-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/papaprimas-profile_image-f687ace438355937-300x300.jpeg',0,1518530796,1518542146),
(0,1,4,'rangso0204','192418631','랑쏘','랑쏘 멮린이 메이플스토뤼 힐링 ~_~','MapleStory',0,'https://static-cdn.jtvnw.net/previews-ttv/live_user_rangso0204-320x180.jpg','https://static-cdn.jtvnw.net/jtv_user_pictures/dacbfa55e77102e5-profile_image-300x300.png',1,1518527744,1518542146)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1048, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1048, '23000')
#2 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(206): XF\Db\AbstractAdapter->query('INSERT  INTO `e...')
#4 src/addons/EWR/Rio/Repository/Stream.php(80): XF\Db\AbstractAdapter->insertBulk('ewr_rio_streams', Array)
#5 src/addons/EWR/Discord/Repository/Stream.php(12): EWR\Rio\Repository\Stream->scrapeStreams()
#6 src/addons/EWR/Rio/Cron/Scrape.php(14): EWR\Discord\Repository\Stream->scrapeStreams()
#7 [internal function]: EWR\Rio\Cron\Scrape::scrapeStreams(Object(XF\Entity\CronEntry))
#8 src/XF/Job/Cron.php(35): call_user_func(Array, Object(XF\Entity\CronEntry))
#9 src/XF/Job/Manager.php(241): XF\Job\Cron->run(7.9999990463257)
#10 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#11 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#12 job.php(15): XF\Job\Manager->runQueue(false, 8)
#13 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(25) "https://www.gnonline.net/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
This was fixed in a recent update...
 
@Jaxel Just purchased, everything is looking great. Major but simple feature request though, language/region filtering for Twitch. I'm not sure if the other platforms support it, but Twitch's website generally defaults your language filter to the region you're in. Just allowing us to set a filter for what languages, or even just a single default language, would help reduce all of the noise that I'm currently experiencing with your add-on. Our community is English-primary, and livestream page is currently filled with Russian streams based on the games provided.
 
Hello @Jaxel,

I am running into an issue when trying to embed the BBcode into a thread. Here is the error I am seeing in the backend:
Code:
Error: Call to a member function getProperty() on null src/addons/EWR/Rio/Entity/Stream.php:35
Generated by: Viking Redbeard Mar 26, 2018 at 1:41 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(142): EWR\Rio\Entity\Stream->getStreamEmbed()
#1 src/XF/Mvc/Entity/Entity.php(95): XF\Mvc\Entity\Entity->get('stream_embed')
#2 src/addons/EWR/Rio/BbCode/Stream.php(56): XF\Mvc\Entity\Entity->__get('stream_embed')
#3 [internal function]: EWR\Rio\BbCode\Stream::bbcode(Array, 'twitch', Array, Array, Object(XF\BbCode\Renderer\SimpleHtml))
#4 src/XF/BbCode/Renderer/Html.php(246): call_user_func(Array, Array, 'twitch', Array, Array, Object(XF\BbCode\Renderer\SimpleHtml))
#5 src/XF/BbCode/Traverser.php(54): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#6 src/XF/BbCode/Renderer/Html.php(363): XF\BbCode\Traverser->renderSubTree(Array, Array)
#7 [internal function]: XF\BbCode\Renderer\Html->renderTagAlign(Array, NULL, Array, Array, Object(XF\BbCode\Renderer\SimpleHtml))
#8 src/XF/BbCode/Renderer/Html.php(246): call_user_func(Array, Array, NULL, Array, Array, Object(XF\BbCode\Renderer\SimpleHtml))
#9 src/XF/BbCode/Traverser.php(54): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#10 src/XF/BbCode/Traverser.php(30): XF\BbCode\Traverser->renderSubTree(Array, Array)
#11 src/XF/BbCode/Traverser.php(18): XF\BbCode\Traverser->renderAst(Array, Object(XF\BbCode\RuleSet), Array)
#12 src/XF/SubContainer/BbCode.php(216): XF\BbCode\Traverser->render('You can view Le...', Object(XF\BbCode\Parser), Object(XF\BbCode\RuleSet), Array)
#13 src/XF/Service/Message/Preparer.php(255): XF\SubContainer\BbCode->render('You can view Le...', 'simpleHtml', 'post:prepare', Object(XF\Entity\Post))
#14 src/XF/Service/Message/Preparer.php(121): XF\Service\Message\Preparer->checkValidity('You can view Le...')
#15 src/XF/Service/Post/Preparer.php(98): XF\Service\Message\Preparer->prepare('You can view Le...', true)
#16 src/XF/Service/Thread/Creator.php(148): XF\Service\Post\Preparer->setMessage('You can view Le...', true, true)
#17 src/XF/Pub/Controller/Forum.php(529): XF\Service\Thread\Creator->setContent('League of Lager...', 'You can view Le...')
#18 src/XF/Pub/Controller/Forum.php(715): XF\Pub\Controller\Forum->setupThreadCreate(Object(XF\Entity\Forum))
#19 src/XF/Mvc/Dispatcher.php(249): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', 'json', Object(XF\Mvc\ParameterBag), 'forums', Object(EWR\Porta\Pub\Controller\Forum), NULL)
#21 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#22 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#23 src/XF.php(328): XF\App->run()
#24 index.php(13): XF::runApp('XF\\Pub\\App')
#25 {main}

Code:
Request state
array(4) {
  ["url"] => string(26) "/forums/chat.3/post-thread"
  ["referrer"] => string(47) "https://yetigamer.com/forums/chat.3/post-thread"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(13) {
    ["title"] => string(24) "League of Lagers Week 10"
    ["message_html"] => string(355) "<p>You can view League of Lagers from this thread, the Streams tab above, or on Twitch. If you have any topics you would like to see discussed, please comment below!</p><p><br></p><p style="text-align: center;">[stream=twitch]league_of_lagers,192327365[/stream]</p><p style="text-align: center;">[stream=twitch;chat]league_of_lagers,192327365[/stream]</p>"
    ["attachment_hash"] => string(32) "c3d693774262b63d249ccbef2195addc"
    ["attachment_hash_combined"] => string(81) "{"type":"post","context":{"node_id":3},"hash":"c3d693774262b63d249ccbef2195addc"}"
    ["watch_thread"] => string(1) "1"
    ["watch_thread_email"] => string(1) "1"
    ["_xfSet"] => array(3) {
      ["watch_thread"] => string(1) "1"
      ["discussion_open"] => string(1) "1"
      ["sticky"] => string(1) "1"
    }
    ["discussion_open"] => string(1) "1"
    ["poll"] => array(5) {
      ["question"] => string(0) ""
      ["new_responses"] => array(1) {
        [0] => string(0) ""
      }
      ["max_votes_type"] => string(6) "single"
      ["change_vote"] => string(1) "1"
      ["view_results_unvoted"] => string(1) "1"
    }
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(26) "/forums/chat.3/post-thread"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Back
Top Bottom