I get the following warning on every page using PHP 5.3.3 (worked fine under PHP 5.2):

Warning: get_class() expects parameter 1 to be object, string given in _tableofcontents_replace_toc() (line 622 of /var/autofs/mnt/www/drupal/drupal7_sites/all/modules/tableofcontents/tableofcontents.pages.inc).

A patch that fixes it is attached.

CommentFileSizeAuthor
tableofcontents.pages_.inc_.patch462 bytescarheden

Comments

foripepe’s picture

Status: Patch (to be ported) » Closed (duplicate)

I think this is duplication of http://drupal.org/node/1248204