This question about Using an extension: Marked for deletion
Error with AliasPlugin (Can't call method "takeOutBlocks")
When I turn on the AliasPlugin, I can't edit or save a new topic. Here is the error-message:
Can't call method "takeOutBlocks" on an undefined value at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Plugins/AliasPlugin.pm line 382.
at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Plugins/AliasPlugin.pm line 382
Foswiki::Plugins::AliasPlugin::takeOutBlocks('AliasTest\x{a}', 'verbatim', 'HASH(0x187ac44)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Plugins/AliasPlugin.pm line 283
Foswiki::Plugins::AliasPlugin::beforeSaveHandler('%META:TOPICPARENT{name="Plugins"}%\x{a}AliasTest\x{a}', 'AliasTest', 'Admin/Test', 'Foswiki::Meta=HASH(0xb6d5cc)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Plugin.pm line 273
Foswiki::Plugin::invoke('Foswiki::Plugin=HASH(0x11bf774)', 'beforeSaveHandler', '%META:TOPICPARENT{name="Plugins"}%\x{a}AliasTest\x{a}', 'AliasTest', 'Admin/Test', 'Foswiki::Meta=HASH(0xb6d5cc)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Plugins.pm line 316
Foswiki::Plugins::dispatch('Foswiki::Plugins=HASH(0xcfb324)', 'beforeSaveHandler', '%META:TOPICPARENT{name="Plugins"}%\x{a}AliasTest\x{a}', 'AliasTest', 'Admin/Test', 'Foswiki::Meta=HASH(0xb6d5cc)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Store.pm line 923
Foswiki::Store::saveTopic('Foswiki::Store=HASH(0xd21a74)', 'BaseUserMapping_333', 'Admin/Test', 'AliasTest', 'AliasTest\x{a}', 'Foswiki::Meta=HASH(0xb6d5cc)', 'HASH(0x178f59c)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/UI/Save.pm line 610
Foswiki::UI::Save::__ANON__() called at C:/WWW/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
eval {...} called at C:/WWW/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
Error::subs::try('CODE(0x178f55c)', 'HASH(0x187a914)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/UI/Save.pm line 620
Foswiki::UI::Save::save('Foswiki=HASH(0x75a654)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/UI.pm line 304
Foswiki::UI::__ANON__() called at C:/WWW/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
eval {...} called at C:/WWW/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
Error::subs::try('CODE(0x9a2964)', 'HASH(0x178f27c)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/UI.pm line 391
Foswiki::UI::_execute('Foswiki::Request=HASH(0xc7bbdc)', 'CODE(0xcb38fc)', 'save', 1) called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/UI.pm line 275
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0xc7bbdc)') called at C:/WWW/Foswiki/Foswiki/lib/Foswiki/Engine/CGI.pm line 37
Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0xb0a3a4)') called
Can anyone tell me, what is going wrong?
Are there any other plugins that you enabled on top?
Which Foswiki version are you using?
Which
AliasPlugin version are you using?
--
MichaelDaum - 21 Nov 2010
this are the versions:
AliasPlugin |
7677 |
Foswiki |
1.0.10 |
Strawberry Perl |
5.12.1.0 |
Apache |
2.2 |
OS |
Win XP |
g
I've tryed to turn off all the other Plugins, I'ved installed, but the effect was the same.
--
MaikSchoenfeld - 22 Nov 2010
So, now I've connected foswiki with internet und at the configpage/extension shows, that Aliasplugin needs an update. And now it don't make errors.
I'm mortified. Less than a few week have passed since I've download the plugin and so I've used this for a new installation. anyway, I've learned from my mistake and hope, you can forgive my inexperience.