This question about Using an extension: Answered

I upgraded my plugins (ther are many installed) and added a few new plugins, and now I get an error when I try to return to Support.WebHome

I am getting the following error when I navigate from my configuration page (which displays OK) to WebHome:

Can't locate object method "topicExists" via package "Foswiki" at /usr/local/www/foswiki/lib/Foswiki/Users/ line 609.

at /usr/local/www/foswiki/lib/Foswiki/Users/ line 609
Foswiki::Users::TopicUserMapping::eachGroupMember('Foswiki::Users::TopicUserMapping=HASH(0xb31fb8)', 'AdminGroup') called at /usr/local/www/foswiki/lib/Foswiki/ line 334
Foswiki::UserMapping::isInGroup('Foswiki::Users::TopicUserMapping=HASH(0xb31fb8)', 'PaulHarrison', 'AdminGroup') called at /usr/local/www/foswiki/lib/Foswiki/Users/ line 1011
Foswiki::Users::TopicUserMapping::isAdmin('Foswiki::Users::TopicUserMapping=HASH(0xb31fb8)', 'PaulHarrison') called at /usr/local/www/foswiki/lib/Foswiki/ line 567
Foswiki::Users::isAdmin('Foswiki::Users=HASH(0x933708)', 'PaulHarrison') called at /usr/local/www/foswiki/lib/Foswiki/ line 114
Foswiki::Access::checkAccessPermission('Foswiki::Access=HASH(0x101b788)', 'VIEW', 'PaulHarrison', undef, undef, 'InterWikis', 'System') called at /usr/local/www/foswiki/lib/Foswiki/ line 1003
Foswiki::Func::checkAccessPermission('VIEW', 'PaulHarrison', undef, 'InterWikis', 'System') called at /usr/local/www/foswiki/lib/Foswiki/Plugins/ line 72
Foswiki::Plugins::InterwikiPlugin::initPlugin('WebHome', 'System', 'PaulHarrison', 'System') called at /usr/local/www/foswiki/lib/Foswiki/ line 231
Foswiki::Plugin::registerHandlers('Foswiki::Plugin=HASH(0xd493c8)', 'Foswiki::Plugins=HASH(0x621368)') called at /usr/local/www/foswiki/lib/Foswiki/ line 244
Foswiki::Plugins::enable('Foswiki::Plugins=HASH(0x621368)') called at /usr/local/www/foswiki/lib/ line 1607
Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x906330)', 'HASH(0x900878)') called at /usr/local/www/foswiki/lib/Foswiki/ line 293
Foswiki::UI::_execute('Foswiki::Request=HASH(0x906330)', 'CODE(0x905e98)', 'view', 1) called at /usr/local/www/foswiki/lib/Foswiki/ line 275
Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x906330)') called at /usr/local/www/foswiki/lib/Foswiki/Engine/ line 29
Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x8310d8)') called at /usr/local/www/foswiki/bin/view line 45

When I deactivate all of the plugins (there are 36 activated) I still get the error 'Can't locate object method "topicExists" via package "Foswiki" at /usr/local/www/foswiki/lib/Foswiki/Users/ line 609'. Also, I have installed the Pattern Skin. It was upgraded along with the other plugins. Pattern Skin is not used to display the configuration page. I did not see a checkbox to disable the Pattern Skin in the plugins configuration page. How would I disable the skin to test to see if it is the problem?

Thanks in advance

I'm going to guess that TopicUserMapping is not backwards compatible. I'll investigate it further, but if you don't have a backup, you could either look for the ".bak" files renamed when the extension was updated, or install the older version of TopicUserMappingContrib here:;rev=5

Another option would be to upgrade to 1.1.2.

-- GeorgeClark - 10 Nov 2010

Confirmed that TopicUserMappingContrib is not backwards compatible.

-- GeorgeClark - 10 Nov 2010

QuestionForm edit

Subject Using an extension
Version Foswiki 1.0.8
Status Answered
Related Topics
Topic revision: r6 - 10 Jan 2013, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy