• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

From TWiki:Plugins.MailInContribDev

I am getting the error when I run mailincron: Can't call method "stringify" on unblessed reference at /var/www/twiki/lib/TWiki/Contrib/MailInContrib.pm line 188. Line 188: print STDERR "User ",$user->stringify(),"\n" if( $user && $this->{debug} ); Has anyone seen this error or know what would generate it. Thanks.

I am running TWiki 4.0.4. thanks.

-- TWiki:Main.MaryVerge - 20 Nov 2006

I was getting the same error as MaryVerge. I tracked the problem down part way. It has something to do with $user being an array reference in the MailInContrib::processInbox method. Around line 187 I added this:

if ( $user->[0]->isa( 'TWiki::User' ) ) { $user = $user->[0]; }

That resolved the issue for me. A better solution would be to resolve the initial assignment of $user.

-- TWiki:Main.AaronJohnson - 19 Dec 2006

The error is actually in FuncUsersContrib, a module I created to provide methods missing from older wiki versions.

I'm going to recode the MailInContrib so it doesn't require that contrib any more, but it will require a twiki version >= 4.0.3.


I removed the dependency, though it does mean the contrib won't work on 4.0.2 or lower (I don't see that as a big issue myself)


Summary Fatal error when running mailincron
ReportedBy TWiki:Main.AaronJohnson
Codebase 4.0.4
SVN Range TWiki-4.1, Sun, 17 Dec 2006, build 12291
AppliesTo Extension
Component MailInContrib
Priority Urgent
CurrentState Closed

Checkins 12411 12412
TargetRelease n/a
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-01-02 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback