On viewing my site logs, the error below wasrecorded several times by an anon user, and appear to be to do with quotes. I don't know what the user was trying to do at the time. My drupal version is 4.5.1

error
Date	Tuesday, 25 January, 2005 - 01:29
User	Anonymous Coward!
Location	/?q=quotes/feed&PHPSESSID=f041677e383439d11f3aea2027aeba87
Message	warning: call_user_func_array(): First argumented is expected to be a valid callback, '_quotes_feed' was given in /home/zorya46/public_html/crazybooks/includes/menu.inc on line 351.

Comments

Emiliano’s picture

Hi! :-)

I got the same here today.

---
Location /index.php?q=quotes/feed
Message warning: call_user_func_array(): First argumented is expected to be a valid callback, '_quotes_feed' was given in D:\hshome\###\###\includes\menu.inc on line 351.
---

I'm using Drupal 4.5.2.

Thanks,
Emiliano.

Anonymous’s picture

Title: mysql errors » Quotes feeds broken: _quotes_feed() function missing

The problem is actually a missing function in quotes.module. Adding the following code (or something similar) will fix the problem:

/**
 * Put some comments here
 */
function _quotes_feed($in_uid = 0) {
  return $in_uid ? _quotes_feed_user($in_uid) : _quotes_feed_last();
}
Emiliano’s picture

Hi!

It worked. Thanks a lot!

I won't change status to 'closed' or 'fixed' because I think the file available for download needs to be updated, right?

[]s,
Emiliano.

jhriggs’s picture

Assigned: Unassigned » jhriggs

This is fixed in CVS (4.5r4/2005022600, 4.6r1/2005022601).

Anonymous’s picture