By drupalista on
Hi, trying to use the OG modul with 4.6 I am getting an error, when I want to approve a user subscription to a group:
call_user_func_array(): First argumented is expected to be a valid callback, 'og_approve' was given in /var/www/drupal/includes/menu.inc on line 354.
maybe anyone knows about this?
Comments
Additional error on not approving user
Jeesssus... becoming even better,,,, when not approving the user to the group I get:
warning: implode(): Bad arguments. in /var/www/drupal/modules/node.module on line 363.
user error: 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 '' at line 1
query: SELECT n.*, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid WHERE in /var/www/drupal/includes/database.mysql.inc on line 66.
Fatal error: Call to undefined function: og_delete_subscription() in /var/www/drupal/modules/og.module on line 296
Hmm, isn´t the code tested before it is posted here? I really did nothing special, it is th og mudule for 4.6, I applied the patches and have not many other stuff installed... really disappointing.
Same problem for me
It looks like og_delete_subscription() has been missed out of the latest og version.
I tried applying this patch, but an unsubscribe is still unsuccesful as it does not change the user's account information.
Ooops!
Not sure, but I'm also getting it with the events module
The add and event link doesn't show up in create content and I get that same error with this path:
event/additem
Ok, not quite the same error. I got this one:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'event_add_item' was given in /home/cs/includes/menu.inc on line 354.
Mike
--
Mike Gifford, OpenConcept Consulting
Free Software for Social Change -> http://www.openconcept.ca
same problem
Folks, I've got the same problem.
The og version I have is the latest for 4.6 it seems.
// $Id: og.module,v 1.53.2.59 2006/03/04 19:09:48 weitzman Exp $
Did anyone find out what is the way out? I though this module was working, but now it appears to be broken.
-S
this problem went away
I updated to the latest 4.6 version of OG and the above error went away. But a new Warnings problem in node.module and an SQL error came up which is being tracked elsewhere.
-S
"First argumented " what does this error mean?
i got an email from a colleague using our drupal site with this error which is similiar to the above and to http://drupal.org/node/59727
what causes this kind of error?
i am using drupal 5.2 and image cache and image field with CCK and views.
also, is the grammar weird? "First argumented" or is that a past-tense verb?
what does it mean? what caused it? and how can i fix it?
Fixed it
It's caused by moving folders around of modules that have been enabled.
To reproduce, move a module from the Modules folder to Sites/all folder.
Don't know why PHP throws this error, but basically once a module has been automatically sensed, don't move it around
Let me know if you guys get it sorted with this!
Don't be afraid to go out on a limb - just don't shake the tree.
So if you have the error,
So if you have the error, how do you fix it?
I'm seeing this when trying to edit a story which contains an image used in the story. I moved my installation from my local machine to my test server, and I am going to move it again to the real installation once the tests are complete.
I'm getting this:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'image_node_form' was given in /includes/form.inc on line 366.
L