Working great! But errors logged...

A multipurpose module, plugin and component

Working great! But errors logged...

New postby jimwillsher » Tue Feb 08, 2011 11:40 am

First, Jumi is working GREAT! it's exactly what I needed, and really easy to set up.

However, I notice these getting logged to my Apache error log whenever I use a page with embedded jumi tags:

Code: Select all
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 30, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 39, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 94, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 30, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 39, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 94, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use


If the jumi author is able to assist, I can provide details of how I'm using the tags and what my PHP code is doing etc.

Many thanks,



Jim
jimwillsher
 
Posts: 1
Joined: Tue Feb 08, 2011 11:38 am

Re: Working great! But errors logged...

New postby [email protected] » Thu Feb 17, 2011 1:36 am

I'm seeing the same errors.

And I'm not using the plugin for anything.
[email protected]
 
Posts: 5
Joined: Wed Feb 16, 2011 11:43 pm

Re: Working great! But errors logged...

New postby Edvard » Sun Feb 20, 2011 7:10 pm

Can you post your PHP and Jumi version details?
Regards,

Edvard Ananyan - 2GLux Team

Please post a review at the Joomla Extensions Directory. It is very important for us!
Edvard
Site Admin
 
Posts: 1836
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Working great! But errors logged...

New postby [email protected] » Mon Feb 21, 2011 8:25 pm

Apache 2.0.63
PHP 5.3.2
MySQL 5.1.44
Joomla 1.6.0
Jumi package 2.0.6
[email protected]
 
Posts: 5
Joined: Wed Feb 16, 2011 11:43 pm

Re: Working great! But errors logged...

New postby jpvivere » Fri Feb 25, 2011 4:52 am

I found a fix that works....

Line 29 of the jumi.php file (.../plugins/system/jumi/jumi.php) contains an oversight:

It's currently:
Code: Select all
$plugin =& JPluginHelper::getPlugin('content', 'jumi');


... but the subfolder is "system", not "content"

so change it to:
Code: Select all
$plugin =& JPluginHelper::getPlugin('system', 'jumi');


and those errors should go away (at least it did on my system!).

Thanks for the plugin!
jpvivere
 
Posts: 1
Joined: Fri Feb 25, 2011 4:48 am

Re: Working great! But errors logged...

New postby kwally » Wed Apr 27, 2011 12:47 pm

I had the same error
"Notice: Trying to get property of non-object in /opt/root/***/plugins/system/jumi/jumi.php on line 94 "

I changed line 29 as proposed by jpvivere and it works!

Thanks jpvivere !
kwally
 
Posts: 1
Joined: Wed Apr 27, 2011 12:44 pm

Re: Working great! But errors logged...

New postby carlj » Fri Jul 20, 2012 5:13 am

Downloaded Jumi 1.6+ today 20 Jul 2012 (Running vn 2.5.6)
Problem still exists.
Did change to line 29 as proposed by jpvivere and it worked.
Thank you,
8-)
carlj
 
Posts: 1
Joined: Fri Jul 20, 2012 4:39 am

Re: Working great! But errors logged...

New postby jacko » Sat Nov 10, 2012 12:45 pm

Hi,

I had the same issue, and this fixed it then I thought I may as well look into why I get incorrect navigation and another error when saving the 'application', looking in my error log after saving using either Save & Close or Save button I got this error:

Code: Select all
[Date] [warn] [client IP] mod_fcgid: stderr: PHP Notice: Undefined property: JumiController::$_task in /*****************/httpdocs/administrator/components/com_jumi/admin.jumi.php on line 120, referer: website


Looing at file listed above I saw a switch statement:

Code: Select all
switch($this->_task) {
            case 'apply':
                $msg = JText::_('Changes to Application saved');
                $link = 'index.php?option=com_jumi&task=edit&cid[]='. $applid .'';
                break;

            case 'save':
            default:
                $msg = JText::_('Application saved');
                $link = 'index.php?option=com_jumi';
                break;
        }


Line 120 is
Code: Select all
switch($this->_task)

to fix this and get the correct action, Save & Close and Save I replaced this with:
Code: Select all
$task=$this->getTask();
switch($task)


I now do not get an error and the correct action is applied, I am using Jumi on Joomla 2.5.7

Hope this helps keep log files smaller :)

Jacko
jacko
 
Posts: 8
Joined: Tue Sep 11, 2012 10:35 pm

Re: Working great! But errors logged...

New postby oviliz » Thu Jul 31, 2014 7:44 pm

2 years and the fix (?) was not integrated... :(
oviliz
 
Posts: 1
Joined: Thu Jul 31, 2014 7:43 pm

Re: Working great! But errors logged...

New postby dieting » Tue Dec 30, 2014 9:00 am

Problem still exists. Did change to line 29 as proposed by jpvivere and it worked. Thank you,
dieting
 
Posts: 1
Joined: Tue Dec 30, 2014 8:40 am

Re: Working great! But errors logged...

New postby alex2017 » Wed Jan 25, 2017 2:52 pm

jimwillsher wrote:First, Jumi is working GREAT! it's exactly what I needed, and really easy to set up.

However, I notice these getting logged to my Apache error log whenever I use a page with embedded jumi tags:

Code: Select all
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 30, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 39, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:26 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 94, referer: http://test.mountainaid.org.uk/
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 30, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 39, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 63, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use
[Tue Feb 08 07:26:42 2011] [error] [client 192.168.1.242] PHP Notice:  Trying to get property of non-object in /var/www/mountainaidtest.org.uk/plugins/system/jumi/jumi.php on line 94, referer: http://test.mountainaid.org.uk/index.php/test-do-not-use


If the jumi author is able to assist, I can provide details of how I'm using the tags and what my PHP code is doing etc.

Many thanks,



Jim

I'm seeing the same errors.

And I'm not using the plugin for anything.
alex2017
 
Posts: 1
Joined: Wed Jan 25, 2017 2:47 pm
Location: London


Return to Jumi

Who is online

Users browsing this forum: No registered users and 5 guests

cron