After troubleshoot this a long hour ago, I still unable to figure out what is the root issue caused this issue which only happen on Stream module.
Based on what i checked, for some reason this stream module doesn't trigger to load this following script on the page :
<script type="text/javascript">
EasySocial.require()
.script('site/comments/frame','site/vendors/lightbox')
.done(function($) {
$('[data-es-comments]').addController('EasySocial.Controller.Comments', {
'attachments': true,
'errorMessage': "Did you forget to write your comments?"
});
});
</script>
Which unable to show the comment form when the user click on that comment link.
I suspect this `modulesanywhere` 3rd party plugin did trigger this load comment script before render the stream module, so Easysocial stream thought that this comment script already loaded at the first time, so when it render the stream module on the page, it will not load again this comment script.
Based on what i see this debug trace log, it rely on this anywhere plugin to render the module on the page.
array(36) {
[0]=>
array(5) {
["file"]=>
string(93) "/data1user/web03/htdocs/components/com_easysocial/themes/wireframe/stream/actions/default.php"
["line"]=>
int(64)
["function"]=>
string(4) "html"
["class"]=>
string(18) "SocialCommentBlock"
["type"]=>
string(2) "->"
}
[1]=>
array(4) {
["file"]=>
string(94) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/template/template.php"
["line"]=>
int(284)
["args"]=>
array(1) {
[0]=>
string(93) "/data1user/web03/htdocs/components/com_easysocial/themes/wireframe/stream/actions/default.php"
}
["function"]=>
string(7) "include"
}
[2]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/themes/themes.php"
["line"]=>
int(174)
["function"]=>
string(5) "parse"
["class"]=>
string(14) "SocialTemplate"
["type"]=>
string(2) "->"
}
[3]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/stream/stream.php"
["line"]=>
int(2134)
["function"]=>
string(6) "output"
["class"]=>
string(12) "SocialThemes"
["type"]=>
string(2) "->"
}
[4]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/stream/stream.php"
["line"]=>
int(696)
["function"]=>
string(10) "getActions"
["class"]=>
string(12) "SocialStream"
["type"]=>
string(2) "->"
}
[5]=>
array(5) {
["file"]=>
string(90) "/data1user/web03/htdocs/administrator/components/com_easysocial/includes/stream/stream.php"
["line"]=>
int(973)
["function"]=>
string(6) "format"
["class"]=>
string(12) "SocialStream"
["type"]=>
string(2) "->"
}
[6]=>
array(5) {
["file"]=>
string(79) "/data1user/web03/htdocs/modules/mod_easysocial_stream/mod_easysocial_stream.php"
["line"]=>
int(42)
["function"]=>
string(15) "getPublicStream"
["class"]=>
string(12) "SocialStream"
["type"]=>
string(2) "->"
}
[7]=>
array(4) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/src/Helper/ModuleHelper.php"
["line"]=>
int(201)
["args"]=>
array(1) {
[0]=>
string(79) "/data1user/web03/htdocs/modules/mod_easysocial_stream/mod_easysocial_stream.php"
}
["function"]=>
string(7) "include"
}
[8]=>
array(5) {
["file"]=>
string(79) "/data1user/web03/htdocs/libraries/src/Document/Renderer/Html/ModuleRenderer.php"
["line"]=>
int(98)
["function"]=>
string(12) "renderModule"
["class"]=>
string(30) "Joomla\CMS\Helper\ModuleHelper"
["type"]=>
string(2) "::"
}
[9]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(502)
["function"]=>
string(6) "render"
["class"]=>
string(48) "Joomla\CMS\Document\Renderer\Html\ModuleRenderer"
["type"]=>
string(2) "->"
}
[10]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(293)
["function"]=>
string(13) "processModule"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[11]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(194)
["function"]=>
string(12) "processMatch"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[12]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(176)
["function"]=>
string(14) "replaceMatches"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[13]=>
array(5) {
["file"]=>
string(70) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Replace.php"
["line"]=>
int(131)
["function"]=>
string(7) "replace"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[14]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Helper.php"
["line"]=>
int(81)
["function"]=>
string(14) "processModules"
["class"]=>
string(49) "RegularLabs\Plugin\System\ModulesAnywhere\Replace"
["type"]=>
string(2) "::"
}
[15]=>
array(3) {
["function"]=>
string(14) "processModules"
["class"]=>
string(48) "RegularLabs\Plugin\System\ModulesAnywhere\Helper"
["type"]=>
string(2) "->"
}
[16]=>
array(3) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/regularlabs/src/Article.php"
["line"]=>
int(190)
["function"]=>
string(20) "call_user_func_array"
}
[17]=>
array(5) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/regularlabs/src/Article.php"
["line"]=>
int(167)
["function"]=>
string(11) "processText"
["class"]=>
string(27) "RegularLabs\Library\Article"
["type"]=>
string(2) "::"
}
[18]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Helper.php"
["line"]=>
int(31)
["function"]=>
string(7) "process"
["class"]=>
string(27) "RegularLabs\Library\Article"
["type"]=>
string(2) "::"
}
[19]=>
array(3) {
["function"]=>
string(16) "onContentPrepare"
["class"]=>
string(48) "RegularLabs\Plugin\System\ModulesAnywhere\Helper"
["type"]=>
string(2) "->"
}
[20]=>
array(3) {
["file"]=>
string(69) "/data1user/web03/htdocs/plugins/system/modulesanywhere/src/Plugin.php"
["line"]=>
int(97)
["function"]=>
string(20) "call_user_func_array"
}
[21]=>
array(5) {
["file"]=>
string(74) "/data1user/web03/htdocs/plugins/system/modulesanywhere/modulesanywhere.php"
["line"]=>
int(51)
["function"]=>
string(3) "run"
["class"]=>
string(48) "RegularLabs\Plugin\System\ModulesAnywhere\Plugin"
["type"]=>
string(2) "->"
}
[22]=>
array(3) {
["function"]=>
string(16) "onContentPrepare"
["class"]=>
string(24) "PlgSystemModulesAnywhere"
["type"]=>
string(2) "->"
}
[23]=>
array(3) {
["file"]=>
string(56) "/data1user/web03/htdocs/libraries/joomla/event/event.php"
["line"]=>
int(70)
["function"]=>
string(20) "call_user_func_array"
}
[24]=>
array(5) {
["file"]=>
string(61) "/data1user/web03/htdocs/libraries/joomla/event/dispatcher.php"
["line"]=>
int(160)
["function"]=>
string(6) "update"
["class"]=>
string(6) "JEvent"
["type"]=>
string(2) "->"
}
[25]=>
array(5) {
["file"]=>
string(74) "/data1user/web03/htdocs/components/com_content/views/article/view.html.php"
["line"]=>
int(193)
["function"]=>
string(7) "trigger"
["class"]=>
string(16) "JEventDispatcher"
["type"]=>
string(2) "->"
}
[26]=>
array(5) {
["file"]=>
string(71) "/data1user/web03/htdocs/libraries/src/MVC/Controller/BaseController.php"
["line"]=>
int(672)
["function"]=>
string(7) "display"
["class"]=>
string(18) "ContentViewArticle"
["type"]=>
string(2) "->"
}
[27]=>
array(5) {
["file"]=>
string(61) "/data1user/web03/htdocs/components/com_content/controller.php"
["line"]=>
int(113)
["function"]=>
string(7) "display"
["class"]=>
string(40) "Joomla\CMS\MVC\Controller\BaseController"
["type"]=>
string(2) "->"
}
[28]=>
array(5) {
["file"]=>
string(71) "/data1user/web03/htdocs/libraries/src/MVC/Controller/BaseController.php"
["line"]=>
int(710)
["function"]=>
string(7) "display"
["class"]=>
string(17) "ContentController"
["type"]=>
string(2) "->"
}
[29]=>
array(5) {
["file"]=>
string(58) "/data1user/web03/htdocs/components/com_content/content.php"
["line"]=>
int(43)
["function"]=>
string(7) "execute"
["class"]=>
string(40) "Joomla\CMS\MVC\Controller\BaseController"
["type"]=>
string(2) "->"
}
[30]=>
array(4) {
["file"]=>
string(67) "/data1user/web03/htdocs/libraries/src/Component/ComponentHelper.php"
["line"]=>
int(382)
["args"]=>
array(1) {
[0]=>
string(58) "/data1user/web03/htdocs/components/com_content/content.php"
}
["function"]=>
string(12) "require_once"
}
[31]=>
array(5) {
["file"]=>
string(67) "/data1user/web03/htdocs/libraries/src/Component/ComponentHelper.php"
["line"]=>
int(357)
["function"]=>
string(16) "executeComponent"
["class"]=>
string(36) "Joomla\CMS\Component\ComponentHelper"
["type"]=>
string(2) "::"
}
[32]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/libraries/src/Application/SiteApplication.php"
["line"]=>
int(194)
["function"]=>
string(15) "renderComponent"
["class"]=>
string(36) "Joomla\CMS\Component\ComponentHelper"
["type"]=>
string(2) "::"
}
[33]=>
array(5) {
["file"]=>
string(69) "/data1user/web03/htdocs/libraries/src/Application/SiteApplication.php"
["line"]=>
int(233)
["function"]=>
string(8) "dispatch"
["class"]=>
string(38) "Joomla\CMS\Application\SiteApplication"
["type"]=>
string(2) "->"
}
[34]=>
array(5) {
["file"]=>
string(68) "/data1user/web03/htdocs/libraries/src/Application/CMSApplication.php"
["line"]=>
int(204)
["function"]=>
string(9) "doExecute"
["class"]=>
string(38) "Joomla\CMS\Application\SiteApplication"
["type"]=>
string(2) "->"
}
[35]=>
array(5) {
["file"]=>
string(33) "/data1user/web03/htdocs/index.php"
["line"]=>
int(49)
["function"]=>
string(7) "execute"
["class"]=>
string(37) "Joomla\CMS\Application\CMSApplication"
["type"]=>
string(2) "->"
}
}
May i know is there a way do not use this anywhere plugin to render stream module on the page? Because i would like to isolate the issue since you unable to provide us with your site FTP server access, it would very very difficult for us to troubleshoot this issue.
By the way, I did applied some temporary fix on this file
JoomlaFolder/components/com_easysocial/includes/comment/comment.php so it will always load the comment script on the page without any checking, so that comment form should appear now.
Keep us update whether you can able to provide us with your FTP access or you can render stream module without go through this anywhere plugin.