Keyword

PHP Exception

  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
1 month 4 days ago #169216 by Dave Bishop
Dave Bishop created the topic: PHP Exception
Exception Type: Error
File: /home/*****/public_html/plugins/content/jw_disqus/jw_disqus.php
Line: 108
Message: Call to a member function get() on string

Hello, this error is showing up along with many others. I found this because the tag pages were not working and giving me a 404 error.

I have more errors but I wonder if you are going to continue this extension's development?

#0 /home/wkrlb/public_html/plugins/content/jw_disqus/jw_disqus.php(47): plgContentJw_disqus->renderDisqus(Object(stdClass), '{"article_layou...', '')
#1 /home/wkrlb/public_html/libraries/joomla/event/event.php(70): plgContentJw_disqus->onContentPrepare('com_tags.tag', Object(stdClass), '{"article_layou...', 0)
#2 /home/wkrlb/public_html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array)
#3 /home/wkrlb/public_html/components/com_tags/views/tag/view.html.php(141): JEventDispatcher->trigger('oncontentprepar...', Array)
#4 /home/wkrlb/public_html/libraries/src/MVC/Controller/BaseController.php(672): TagsViewTag->display()
#5 /home/wkrlb/public_html/components/com_tags/controller.php(52): Joomla\CMS\MVC\Controller\BaseController->display(false, Array)
#6 /home/wkrlb/public_html/libraries/src/MVC/Controller/BaseController.php(710): TagsController->display()
#7 /home/wkrlb/public_html/components/com_tags/tags.php(15): Joomla\CMS\MVC\Controller\BaseController->execute('')
#8 /home/wkrlb/public_html/libraries/src/Component/ComponentHelper.php(382): require_once('/home/stitchcra...')
#9 /home/wkrlb/public_html/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/stitchcra...')
#10 /home/wkrlb/public_html/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_tags')
#11 /home/wkrlb/public_html/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#12 /home/wkrlb/public_html/libraries/src/Application/CMSApplication.php(195): Joomla\CMS\Application\SiteApplication->doExecute()
#13 /home/wkrlb/public_html/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#14 {main}

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

  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
1 month 4 days ago #169217 by Dave Bishop
Dave Bishop replied the topic: PHP Exception
I disabled the Disqus extension and my tag pages are now working with no errors.

I'd like to continue using this extension on my sites.

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Extensions Developer
More
1 month 3 days ago #169222 by Mohamed Abdelaziz
Mohamed Abdelaziz replied the topic: PHP Exception
Hi Dave,
Please let me know what are your versions of Joomla, K2 and Disqus plugin
Also, do you have any other 3rd party addons installed for K2?

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

  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 days ago #169225 by Dave Bishop
Dave Bishop replied the topic: PHP Exception
Hello, thank you for responding.

All my extensions and Joomla are up-to-date. I do not use K2 only Joomla articles.

Joomla 3.8.12
Disqus 3.6.0

Thank you

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Extensions Developer
More
1 month 3 days ago #169226 by Mohamed Abdelaziz
Mohamed Abdelaziz replied the topic: PHP Exception
The line 108 in jw_disqus.php file is:
$parsedInModule = $params->get('parsedInModule');

Try to comment that line, and insert this line after it:
$parsedInModule = 0;

Then save and test the plugin

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

  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
1 month 3 days ago #169227 by Dave Bishop
Dave Bishop replied the topic: PHP Exception
Hello, my question is still whether or not they are going to continue to develop this extension. I think after 2 years without updates many things have changed.

I am not real comfortable altering code on sites. I can only hope this is something the developer could fix and release an update?

Thanks

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 days ago #169239 by Fotis
Fotis replied the topic: PHP Exception
The plugin is really simple in terms of how it hooks up to the Joomla API, that's why updates are not frequent.

The issue you mention was simply not found before (you're the first to report it). I'll double check and issue an update to the plugin.

And, yes, of course it's still maintained.


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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 days ago #169240 by Fotis
Fotis replied the topic: PHP Exception
Please try v3.7.0 (pre-release): github.com/joomlaworks/disqus-comments-for-joomla/archive/master.zip

It should resolve that particular issue.

You mentioned other errors as well. Can you be more specific please?


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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 days ago #169245 by Fotis
Fotis replied the topic: PHP Exception


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.

  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
1 month 2 days ago #169246 by Dave Bishop
Dave Bishop replied the topic: PHP Exception
Hello, I installed the update and now my tags work and do not see any errors being generated.

Thank you for updating this and explaining it's simplicity so I understand now.

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