Thread:Extension talk:DynamicSidebar/Error upon adding group, category, or user sidebar

When adding either of the following lines to MediaWiki:Sidebar,

GROUP-SIDEBAR CATEGORY-SIDEBAR USER-SIDEBAR

The Wiki in its entirety fails to work, providing only blank pages. The following error is in the apache log: PHP Fatal error: Call to undefined method SkinMonoBook::addToSidebar in /var/lib/mediawiki/extensions/DynamicSidebar/DynamicSidebar.body.php on line 35

The same problem is found when incorporating the patch suggested on the extension page. The only way to reverse the total failure is to go back in one's browser history and re-save MediaWiki:Sidebar without the GROUP/CATEGORY/USER-SIDEBAR calls. Alternatively, one could disable DynamicSidebar altogether.

MediaWiki 	1.15.1 PHP 	5.3.2-1ubuntu4 (apache2handler) MySQL 	5.1.41-3ubuntu12.3