Keyword

error in joomla "tag" page

  • NIccolò Angeli
  • NIccolò Angeli's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 6 months ago - 8 years 6 months ago #147549 by NIccolò Angeli
error in joomla "tag" page was created by NIccolò Angeli
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.
Last edit: 8 years 6 months ago by NIccolò Angeli.

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

More
8 years 6 months ago #147550 by Bülent Özden
Replied by Bülent Özden on topic error in joomla "tag" page
I just stumpled upon the same error in Simple Image Gallery Free. Using J3.4.4 and latest SIG (plg_jw_sig-v3.0.1_j1.5-3.x)... This happens both when I click the tag and create a menu item to show articles with that tag. Otherwise the gallery is displayed fine.

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
This is the line:
// 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.

More
8 years 6 months ago - 8 years 6 months ago #147551 by Bülent Özden
Replied by Bülent Özden on topic error in joomla "tag" page
[EDIT - This does not solve the problem]

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...
Last edit: 8 years 6 months ago by Bülent Özden. Reason: not-a-fix

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

  • NIccolò Angeli
  • NIccolò Angeli's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 6 months ago #147552 by NIccolò Angeli
Replied by NIccolò Angeli on topic error in joomla "tag" page
Thank you,

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.

More
8 years 6 months ago #147553 by Bülent Özden
Replied by Bülent Özden on topic error in joomla "tag" page
Yeah, it was a quick fix, I don't know your case, but I cannot see the relation... Did you check the general settings in Joomla?

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.

More
8 years 6 months ago #147554 by Alexey Mudryj
Replied by Alexey Mudryj on topic error in joomla "tag" page

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.

More
8 years 6 months ago #147556 by Lefteris
Replied by Lefteris on topic error in joomla "tag" page
@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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 6 months ago - 8 years 6 months ago #147563 by Alexey Mudryj
Replied by Alexey Mudryj on topic error in joomla "tag" page

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.
Last edit: 8 years 6 months ago by Alexey Mudryj.

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

  • NIccolò Angeli
  • NIccolò Angeli's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 6 months ago #147564 by NIccolò Angeli
Replied by NIccolò Angeli on topic error in joomla "tag" page

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
  • NIccolò Angeli's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 6 months ago - 8 years 6 months ago #147565 by NIccolò Angeli
Replied by NIccolò Angeli on topic error in joomla "tag" page
@Bülent Özden
thanks for trying anyway :-)
Last edit: 8 years 6 months ago by NIccolò Angeli.

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


Powered by Kunena Forum