Tags:
create new tag
view all tags

Question

error in browser:

Software error:

Can't call method "takeOutBlocks" on an undefined value at /path/to/my/twiki/lib/TWiki.pm line 2463.

Almost exact identical install elsewhere on the same machine works perfectly. TWiki.pm are identical to the latest TWiki4 rel SVN update except for some patches to support %DEFAULTWEB% (my Main web) and %MAINWEB% (my User web, where the users "live".), and some s/=pod=/=pod/g and s/=cut=/=cut/g bits. Both 'TWiki.pm's are the same, everything under lib/twiki/ is identical except for Contrib and Plugins.

I get the same error for the putBackBlocks function.

The logs are just as unhelpful (from my POV), they contain the same errors as stated above.

Environment

TWiki version: TWikiAlphaRelease
TWiki plugins:  
Server OS: Debian/Sid, kernel 2.6.17.x
Web server: Apache 2
Perl version: 5.8.x
Client OS: Debian/Sid
Web Browser: Firefox 1.5
Categories: Fatal error

-- EricCote - 23 Aug 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Without being able to see your TWiki.pm, it's impossible to guess. Try attaching it here. Note that the TWiki.pm at the head of SVN is constantly changing, so you have to give a version number and not just "latest".

-- CrawfordCurrie - 23 Aug 2006

Yeh, duh me :), makes sense. Though further looking suggests it's not TWiki core, but a plugin, I'm in the process of investigating right now.

-- EricCote - 23 Aug 2006

Aha! Seems to be SectionalEditPlugin. I have the one from current SVN (TWiki 4 release repo, $VERSION = '$Rev: 11270 $';). My TWiki.pm has $VERSION = '$Date: 2006-08-21 12:10:32 -0400 (lun, 21 aoû 2006) $ $Rev: 11354 $ '; and $RELEASE = 'TWiki-4.1-beta1';. Last updates must've broken SectionalEditPlugin (i.e., it's borked). All my other plugins that had enabled before the breakage are enabled except for SectionalEditPlugin.

-- EricCote - 23 Aug 2006

I've re-opened it because it's happening with more than one plugin. See LDAPPasswordChangerPluginDev for some notes I left there. They're relevant.

-- EricCote - 25 Aug 2006

One month passed, closing this question as unanswered.

-- PeterThoeny - 01 Oct 2006

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-10-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.