Plugin Issues

1 view
Skip to first unread message

prodigal

unread,
Oct 19, 2009, 12:51:54 AM10/19/09
to habari-users
Hi there,

I have just installed habari stable on my sandbox server and am having
an issue with any of the tiwtter plugins, I have tried both the 6.0
branches of twitter and twitterlite to no avail.

With the twitter plugin 0.6-1.4.1 I am getting the following errors.

Notice: Undefined variable: theme in system/plugins/twitter/
twitter.plugin.php line 47
Notice: Trying to get property of non-object in system/plugins/twitter/
twitter.plugin.php line 47

and with tiwtter lite 6.0.1 I get

Notice: Undefined offset: 0 in system/plugins/twitterlitte/
twitterlitte.php line 9
Notice: Trying to get property of non-object in system/plugins/
twitterlitte/twitterlitte.php line 9
Notice: Trying to get property of non-object in system/plugins/
twitterlitte/twitterlitte.php line 9

The line in question in twitterlite.php is

printf('<li class="twitter-more"><a href="%s">' . _t('Read more…',
$this->class_name) . '</a></li>', $tweets[0]->user->profile_url);



Any help much appreciated?

Cheers

Oscar Merida

unread,
Oct 20, 2009, 9:57:18 AM10/20/09
to habari...@googlegroups.com
Since these are just PHP notices, they aren't very severe errors and shouldn't affect the functionality of the plugin.  Do you have display_errors turned on?  If so, just turn it off and see if the plugin actually works.
--
Oscar Merida
* http://OscarM.org - random thoughts on my blog
* http://SoccerBlogs.net - your daily soccer feed
* http://FutBoliviano.com - bolivian soccer, futbol de altura

prodigal

unread,
Oct 21, 2009, 3:40:59 AM10/21/09
to habari-users
thanks for the reply

I have turned errors off and while that does get rid of the error
message the plugin does not appear to be working (it's just blank)

I have no also the latest SVN + The latest Twitter / Flickr plugins
and those return the error "Unable to contact Flickr." (Flickr plugin
works on the latest stable build)

at a bit of a loss .. might just delete everything and start again.

On Oct 21, 2:57 am, Oscar Merida <os...@oscarm.org> wrote:
> Since these are just PHP notices, they aren't very severe errors and
> shouldn't affect the functionality of the plugin.  Do you have
> display_errors turned on?  If so, just turn it off and see if the plugin
> actually works.
>
> On Mon, Oct 19, 2009 at 12:51 AM, prodigal <binarybojang...@gmail.com>wrote:
>
>
>
>
>
> > Hi there,
>
> > I have just installed habari stable on my sandbox server and am having
> > an issue with any of the tiwtter plugins, I have tried both the 6.0
> > branches of twitter and twitterlite to no avail.
>
> > With the twitter plugin 0.6-1.4.1 I am getting the following errors.
>
> > Notice: Undefined variable: theme in system/plugins/twitter/
> > twitter.plugin.php line 47
> > Notice: Trying to get property of non-object in system/plugins/twitter/
> > twitter.plugin.php line 47
>
> > and with tiwtter lite 6.0.1 I get
>
> > Notice: Undefined offset:  0 in system/plugins/twitterlitte/
> > twitterlitte.php line 9
> > Notice: Trying to get property of non-object in system/plugins/
> > twitterlitte/twitterlitte.php line 9
> > Notice: Trying to get property of non-object in system/plugins/
> > twitterlitte/twitterlitte.php line 9
>
> > The line in question in twitterlite.php is
>
> > printf('<li class="twitter-more"><a href="%s">' . _t('Read more…',
> > $this->class_name) . '</a></li>', $tweets[0]->user->profile_url);
>
> > Any help much appreciated?
>
> > Cheers
>
> --
> Oscar Merida
> *http://OscarM.org- random thoughts on my blog
> *http://SoccerBlogs.net- your daily soccer feed
> *http://FutBoliviano.com- bolivian soccer, futbol de altura

prodigal

unread,
Oct 21, 2009, 4:22:39 AM10/21/09
to habari-users
all fixed, used the latest SVN and plugin packages from
http://static.toenda.com/f/index.php?p=%2Fhabari%2Fhabari_v0.7_alpha%2F

On Oct 21, 2:57 am, Oscar Merida <os...@oscarm.org> wrote:
> Since these are just PHP notices, they aren't very severe errors and
> shouldn't affect the functionality of the plugin.  Do you have
> display_errors turned on?  If so, just turn it off and see if the plugin
> actually works.
>
> On Mon, Oct 19, 2009 at 12:51 AM, prodigal <binarybojang...@gmail.com>wrote:
>
>
>
>
>
> > Hi there,
>
> > I have just installed habari stable on my sandbox server and am having
> > an issue with any of the tiwtter plugins, I have tried both the 6.0
> > branches of twitter and twitterlite to no avail.
>
> > With the twitter plugin 0.6-1.4.1 I am getting the following errors.
>
> > Notice: Undefined variable: theme in system/plugins/twitter/
> > twitter.plugin.php line 47
> > Notice: Trying to get property of non-object in system/plugins/twitter/
> > twitter.plugin.php line 47
>
> > and with tiwtter lite 6.0.1 I get
>
> > Notice: Undefined offset:  0 in system/plugins/twitterlitte/
> > twitterlitte.php line 9
> > Notice: Trying to get property of non-object in system/plugins/
> > twitterlitte/twitterlitte.php line 9
> > Notice: Trying to get property of non-object in system/plugins/
> > twitterlitte/twitterlitte.php line 9
>
> > The line in question in twitterlite.php is
>
> > printf('<li class="twitter-more"><a href="%s">' . _t('Read more…',
> > $this->class_name) . '</a></li>', $tweets[0]->user->profile_url);
>
> > Any help much appreciated?
>
> > Cheers
>
> --
> Oscar Merida
> *http://OscarM.org- random thoughts on my blog
> *http://SoccerBlogs.net- your daily soccer feed
> *http://FutBoliviano.com- bolivian soccer, futbol de altura
Reply all
Reply to author
Forward
0 new messages