Hi, I recently installed this module on Drupal 5.6 and everytime there's a new post the following message appears. For example, if a thread has 3 posts, this message shows up 3 times? Any help? Thanks for your time

warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'contact_preprocess_author_pane' was given in /home/neomalle/public_html/modules/author_pane/d6_compat.inc on line 24.

Comments

Saudor’s picture

Nevermind got it - apparently, it happens when the contact module is disabled

michelle’s picture

Hmm... It shouldn't. If the contact module is disabled, its hook should never run. I'm going to leave this open for the moment until I can test it myself.

Michelle

michelle’s picture

Title: Problems with author pane? » Caching issue with contact module
Project: Advanced Forum » Author Pane
Version: 5.x-1.0-rc1 » 5.x-1.x-dev
Component: Miscellaneous » Code
Category: support » bug

Ok, confirmed it. Clearing the cache fixes it so looks like a caching issue. I thought I had gotten all the caching out of there. Grr.

Michelle

michelle’s picture

Status: Active » Fixed

Added check to make sure function still exists.

Michelle

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.