- Posts: 21
COMMUNITY FORUM
error in joomla "tag" page
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
I have noticed this error,
when Allvideos plugin is enabled,
and I click on an article tag, I am redirected to a blank page
if the tag page I am trying to reach contains one or more articles which have a video embedded using allvideo plugin
(notice also that in the tag page I display both titles and a short description, not titles only. If I choose to display titles only everything is fine)
examples:
infinitemandala.com/tags/34-fisica-spirituale (this page is working as there are no articles whcih are usign allvideos)
infinitemandala.com/tags/46-percezioni-extrasensoriali (this page is not working)
this is the general tags page infinitemandala.com/tags
If I set error display on maximum I see this error message on the blank page
Fatal error: Call to a member function get() on a non-object in /home/nangeli/public_html/infinitemandala.com/plugins/content/jw_allvideos/jw_allvideos.php on line 86
at that line I see
$parsedInModule = $params->get('parsedInModule');
Thank you for any suggestion to solve this issue:
Nic.
Please Log in or Create an account to join the conversation.
- Bülent Özden
-
- Offline
- New Member
- Posts: 6
Here is what I get:
( ! ) Fatal error: Call to a member function get() on a non-object in xxxxxxxxxx\plugins\content\jw_sig\jw_sig.php on line 117
Call Stack
# Time Memory Function Location
1 0.0010 250304 {main}( ) ..\index.php:0
2 0.0780 3597216 JApplicationCms->execute( ) ..\index.php:45
3 0.0780 3597416 JApplicationSite->doExecute( ) ..\cms.php:252
4 0.3620 12439304 JApplicationSite->dispatch( ) ..\site.php:230
5 0.3640 12449632 JComponentHelper::renderComponent( ) ..\site.php:191
6 0.3870 12495528 JComponentHelper::executeComponent( ) ..\helper.php:372
7 0.3870 12516992 require_once( 'C:\vhost\trotskyhouse\public_html\cms\components\com_tags\tags.php' ) ..\helper.php:392
8 0.4020 12797888 JControllerLegacy->execute( ) ..\tags.php:15
9 0.4020 12798032 TagsController->display( ) ..\legacy.php:728
10 0.4020 12800024 JControllerLegacy->display( ) ..\controller.php:52
11 0.4370 13540504 TagsViewTag->display( ) ..\legacy.php:690
12 0.6200 15239248 JEventDispatcher->trigger( ) ..\view.html.php:99
13 0.6200 15240288 JEvent->update( ) ..\dispatcher.php:160
14 0.6200 15241144 call_user_func_array:{C:\vhost\trotskyhouse\public_html\cms\libraries\joomla\event\event.php:69} ( ) ..\event.php:69
15 0.6200 15241192 plgContentJw_sig->onContentPrepare( ) ..\event.php:69
16 0.6200 15241240 plgContentJw_sig->renderSimpleImageGallery( ) ..\jw_sig.php:42
// Control external parameters and set variable for controlling plugin layout within modules
if (!$params) $params = class_exists('JParameter') ? new JParameter(null) : new JRegistry(null);
$parsedInModule = $params->get('parsedInModule'); // ERROR LINE 1117
I could not find any "parsedInModule" reference anywhere in the Joomla installation.
Please Log in or Create an account to join the conversation.
- Bülent Özden
-
- Offline
- New Member
- Posts: 6
It can be a J3.4.x compatibility issue as JParameter is removed from base Joomla! code... I don't know much about CMS code but the J3.4 alternative JRegistery returns a JSON, as far as I can see...
But I could get rid of the error by doing this: (THIS MAY REMOVE J2.5 COMPATIBILITY !!!)
Changed this code:
if (!$params) $params = class_exists('JParameter') ? new JParameter(null) : new JRegistry(null);
$parsedInModule = $params->get('parsedInModule');
Into this one:
$params = new JRegistry(null);
$parsedInModule = $params->get('parsedInModule');
I think you have a similar case...
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
- Posts: 21
I just tested your solution, but when I change that code
in article list the title and article details (date, author, ...) are not displaied, and in the article full view the entire article (title , details, content)
is not displaied
I don't see any errors due to allvideos plugin though
Strict Standards: Declaration of JFBConnectProfileDataProxy::bindData() should be compatible with Joomla\Registry\Registry::bindData($parent, $data, $recursive = true, $allowNull = true) in /home/nangeli/public_html/infinitemandala.com/components/com_jfbconnect/libraries/profile.php on line 119
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/author.php on line 83
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/k2.php on line 59
Strict Standards: Only variables should be assigned by reference in /home/nangeli/public_html/infinitemandala.com/libraries/mws/common/system.php on line 95
but I am sure this is due to the code changes you suggested because if I deactivate the plugin everthing is back to normal
Please Log in or Create an account to join the conversation.
- Bülent Özden
-
- Offline
- New Member
- Posts: 6
This page of yours is not working yet:
infinitemandala.com/tags/46-percezioni-extrasensoriali
(interesting stuff there :) )
Cheers
Please Log in or Create an account to join the conversation.
- Alexey Mudryj
-
- Offline
- New Member
- Posts: 5
NIccolò Angeli wrote: Hello,
I have noticed this error,
when Allvideos plugin is enabled,
and I click on an article tag, I am redirected to a blank page
if the tag page I am trying to reach contains one or more articles which have a video embedded using allvideo plugin
(notice also that in the tag page I display both titles and a short description, not titles only. If I choose to display titles only everything is fine)
examples:
infinitemandala.com/tags/34-fisica-spirituale (this page is working as there are no articles whcih are usign allvideos)
infinitemandala.com/tags/46-percezioni-extrasensoriali (this page is not working)
this is the general tags page infinitemandala.com/tags
If I set error display on maximum I see this error message on the blank page
Fatal error: Call to a member function get() on a non-object in /home/nangeli/public_html/infinitemandala.com/plugins/content/jw_allvideos/jw_allvideos.php on line 86
at that line I see
$parsedInModule = $params->get('parsedInModule');
Thank you for any suggestion to solve this issue:
Nic.
I have exactly the same problem. Help fix.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
Ensure that you are using the latest version of AllVideos. The patch is already in our codebase: github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos.php#L83-L88
The rest notices you are getting are raised from other extensions, not AllVideos.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alexey Mudryj
-
- Offline
- New Member
- Posts: 5
Lefteris wrote:
Ensure that you are using the latest version of AllVideos. The patch is already in our codebase: github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos.php#L83-L88
The rest notices you are getting are raised from other extensions, not AllVideos.
Hi @Lefteris, Update to the latest version, but the problem exists. If you disable the plugin, then everything works fine if included, here so yadi.sk/i/iGmP4gTNjDWBn
Thanks for the help.
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Lefteris wrote: @NIccolò Angeli
Ensure that you are using the latest version of AllVideos. The patch is already in our codebase: github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos.php#L83-L88
The rest notices you are getting are raised from other extensions, not AllVideos.
Hi @Lefteris,
yeah I do have the latest version installed but this doesn't solve the issue,
I compared the code you pointed out on github with the one on my jw_allvideos.php file and they are the same.
Thanks
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
- Posts: 21
thanks for trying anyway :-)
Please Log in or Create an account to join the conversation.
- Orhan Chakarov
-
- Offline
- New Member
- Posts: 1
I have installed the newest version and I get the same error when I try to open a tag page which contains articles with embedded videos using Allvideos plugin.
Please Log in or Create an account to join the conversation.
- Bülent Özden
-
- Offline
- New Member
- Posts: 6
Around line 40 find:
function onContentPrepare($context, &$row, &$params, $page = 0){
and insert "public" infront of it...
public function onContentPrepare($context, &$row, &$params, $page = 0){
That corrected my situation in Simple Image Gallery...
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
Any feedback is greatly appreciated.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alexey Mudryj
-
- Offline
- New Member
- Posts: 5
Please Log in or Create an account to join the conversation.
- Alexey Mudryj
-
- Offline
- New Member
- Posts: 5
yadi.sk/i/NHqqnUFwjG3vj
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
Any of you facing this issue please provide more details about your setup ( Joomla! version and other installed extensions/frameworks ) .
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alexey Mudryj
-
- Offline
- New Member
- Posts: 5
Same same infinitemandala.com/tags/46-percezioni-extrasensoriali (this page is not working)
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
Are you using any template frameworks on your site? Any other content plugins? As i wrote i tested and i faced no issues.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
-
Topic Author
- Offline
- Junior Member
- Posts: 21
Lefteris wrote: @Alexey Mudryj
Are you using any template frameworks on your site? Any other content plugins? As i wrote i tested and i faced no issues.
Did you try to reproduce this issue after creating a joomla menu item pointing to the "tags" component?
Because I first noticed the issue after doing so.
When I was using the tags without the joomla menu item being created I hadn't noticed it (maybe because the tagged articles where displaied only as a list of titles, while now that I have a menu item created they are displaied with titles and a short description)
I don't know about @Alexey Mudryj,
but I use Gantry framework 4.1.29 (by Rockettheme)
and I use the content plugins showed in this screenshot
drive.google.com/file/d/0BxKs3ENJmLAtNEhLbDFybURwVms/view?usp=drivesdk
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
if(is_string($params))
{
$params = class_exists('JParameter') ? new JParameter($params) : new JRegistry($params);
}
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.