Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php error in WordPress widgetsplugin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
trondert
Apprentice
Apprentice


Joined: 07 Aug 2005
Posts: 178
Location: Norway

PostPosted: Tue Jul 04, 2006 8:32 am    Post subject: php error in WordPress widgetsplugin Reply with quote

Hi.

I use WP2.0 to host a blogg. And i just made another blogg, on my same private server. Followed the installation. The blog works fine, but now i have installed the widgets plugin and activated it. When i now go and move a widget into my sidebar, and then hit the "edit" button, to enter text in a text widget(or any other widget). I get this error in the edit window that pops up:

Code:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/hula/public_html/wp-content/plugins/widgets/widgets.php on line 645


Dident get this on on my other blogg, so kinda confused now.

edit:

Quote:
plugins/widgets/widgets.php


Code:
        <div id="controls">
<?php foreach ( $registered_widget_controls as $name => $widget ) : ?>
                <div class="hidden" id="<?php echo $widget['id']; ?>control">
                        <span class="controlhandle"><?php echo $name; ?></span>
                        <span id="<?php echo $widget['id']; ?>closer" class="co$
                        <div class="controlform">
<?php call_user_func_array($control['callback'], $control['params']); ?>
                        </div>
                </div>
<?php endforeach; ?>
        </div>


the "php foreach" is line 645
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Tue Jul 04, 2006 11:22 pm    Post subject: Reply with quote

trondert,

I'd say this is rather a WP problem, especially as it's about a plugin. Maybe the folks at the WP support forums are better qualified to answer your question.

(I don't want to say it doesn't belong in here, I'm just afraid you won't get too much feedback.)
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
trondert
Apprentice
Apprentice


Joined: 07 Aug 2005
Posts: 178
Location: Norway

PostPosted: Wed Jul 05, 2006 6:20 am    Post subject: Reply with quote

thx, will try and then post back here :)
Back to top
View user's profile Send private message
trondert
Apprentice
Apprentice


Joined: 07 Aug 2005
Posts: 178
Location: Norway

PostPosted: Wed Jul 19, 2006 7:45 pm    Post subject: Reply with quote

No luck at the WP forum, and i havent realy figured out anything myself. Tried reinstalling most of my web apps. but no luck so far....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum