On removal, I get the following warning: user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 WHERE cid = 'menu:13'' at line 1 query: DELETE FROM 1 WHERE cid = 'menu:13' in /home/www/web45/web/drupal5/includes/database.mysql.inc on line 172.

og_promote.module v 1.5 2007/02/19 is calling cache_clear_all('menu:'. $user->uid, TRUE);. This doesn't match the signature for cache_clear_all given at http://api.drupal.org/api/5/function/cache_clear_all. Changing the code to cache_clear_all($user->uid, 'cache_menu', TRUE); works for me.

Comments

jonathan_hunt’s picture

Status: Active » Fixed

I see this has been fixed in CVS. http://drupal.org/cvs?commit=62559

Anonymous’s picture

Status: Fixed » Closed (fixed)