Keyword

PHP Exception

  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #169216 by Dave Bishop
PHP Exception was created by Dave Bishop
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}
The topic has been locked.
  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #169217 by Dave Bishop
Replied by Dave Bishop on 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.
The topic has been locked.
  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
6 years 2 months ago #169222 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on 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?

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
The topic has been locked.
  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #169225 by Dave Bishop
Replied by Dave Bishop on 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
The topic has been locked.
  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
6 years 2 months ago #169226 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on 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

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
The topic has been locked.
  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #169227 by Dave Bishop
Replied by Dave Bishop on 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
The topic has been locked.
More
6 years 2 months ago #169239 by JoomlaWorks
Replied by JoomlaWorks on 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
6 years 2 months ago #169240 by JoomlaWorks
Replied by JoomlaWorks on 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?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
More
6 years 2 months ago #169245 by JoomlaWorks
Replied by JoomlaWorks on topic PHP Exception

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
The topic has been locked.
  • Dave Bishop
  • Dave Bishop's Avatar Topic Author
  • Offline
  • New Member
More
6 years 2 months ago #169246 by Dave Bishop
Replied by Dave Bishop on 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.
The topic has been locked.

Powered by Kunena Forum