Title: Widget/Plugins problems on WP 2.5.1
Last modified: August 19, 2016

---

# Widget/Plugins problems on WP 2.5.1

 *  [nchroman](https://wordpress.org/support/users/nchroman/)
 * (@nchroman)
 * [18 years ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/)
 * Hi,
    After a successful installation I have got some problems with WP 2.5.1 in
   the back-end. Basically, when I try to administrate my widgets with both the 
   default and the classic theme this message appear:
 * `Fatal error: Only variables can be passed by reference in "....co.uk/includes/
   widgets.php on line 67"`
 * Not only I can not make any changes to my sidebar but also the widgets are not
   listed properly in the back-end.
 * My Hosting (not one of the best I reckon) has:
 * -PHP-5.0.5
    -MySQL-4.1.7
 * Also, I’ve got problems with WPAU and One Button Plugins Upgrade. Simply, my 
   FTP credentials do not work (off-course I recheck many times my FTP details in
   order to be sure that is not an stupid problem.)
 * Could it be a db user privilege problem?
    Any help?
 * Thanks in advance,
    Nch.-
 * PS: Sorry for my primitive English.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [nchroman](https://wordpress.org/support/users/nchroman/)
 * (@nchroman)
 * [18 years ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755257)
 * Anyone?
 *  Thread Starter [nchroman](https://wordpress.org/support/users/nchroman/)
 * (@nchroman)
 * [18 years ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755357)
 * Perhaps, being more specific someone can help me. I am still having the same 
   error with the widgets in the back:
 *     ```
       64  if ( 'all' == $show && $is_multi ) {
       65  // it's a multi-widget.  We only need to show it in the list once.
       66  $already_shown[] = $widget['callback'];
       67  //$num = (int) array_pop( explode( '-', $widget['id'] ) );
       68  $id_base = $wp_registered_widget_controls[$widget['id']]['id_base'];
       69  // so that we always add a new one when clicking "add"
       70  while ( isset($wp_registered_widgets["$id_base-$num"]) )
       ```
   
 * As you can see I commented the 67 line, which is the “evil” line for my WP. Everything
   works fine when I comment this line, but I do not think that is a real solution
   for the problem.
 * I can’t administrate my widgets properly with this error.
    Here is the error 
   again, just in case.
 * `Fatal error: Only variables can be passed by reference in /home/.../public_html/
   wp-admin/includes/widgets.php on line 67`
 * I hope that someone has time and patience to give me a hand with this matter.
   Thanks,
    Nch.-
 *  Thread Starter [nchroman](https://wordpress.org/support/users/nchroman/)
 * (@nchroman)
 * [18 years ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755363)
 * Anyone?
 *  [davec53](https://wordpress.org/support/users/davec53/)
 * (@davec53)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755391)
 * nchroman….did you ever figure this out?
 * i am having the EXACT same widgets problem and error and desperately need to 
   figure it out.
 *  [davec53](https://wordpress.org/support/users/davec53/)
 * (@davec53)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755392)
 * wow…no suggestions? hmmmmm
 *  [rotzoll](https://wordpress.org/support/users/rotzoll/)
 * (@rotzoll)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755394)
 * … change line 67:
 * $num = (int) array_pop( $widget[‘id’] );
 * … into:
 * $tempA = $widget[‘id’];
    $tempB = explode( ‘-‘, $tempA ); $num = (int) array_pop(
   $tempB );
 * worked for me. — greetz, Christian
 *  Thread Starter [nchroman](https://wordpress.org/support/users/nchroman/)
 * (@nchroman)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755401)
 * Sorry davec53 there is not solution from my side. I’m still having the same problem.
   The line 67 is still commented in my widget.php file as a temporary patch. Thank
   you very much rotzoll but your idea didn’t work in my case.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Widget/Plugins problems on WP 2.5.1’ is closed to new replies.

## Tags

 * [widgets](https://wordpress.org/support/topic-tag/widgets/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [nchroman](https://wordpress.org/support/users/nchroman/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/widgetplugins-problems-on-wp-251/#post-755401)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
