WordPress.org

Ready to get started?Download WordPress

Forums

Error with update.php (3 posts)

  1. xChristina80x
    Member
    Posted 6 years ago #

    I just switched to 2.6 from 2.5.1 and when I went up automatically update my plugins I get the following error message

    Warning: extract() [function.extract]: First argument should be an array in /home/sinfullo/public_html/wp-admin/update.php on line 38

    This what I have for lines 33 through 41:

    $hostname = '';
    	$username = '';
    	$password = '';
    	$ssl = '';
    	if ( !empty($credentials) )
    		extract($credentials, EXTR_OVERWRITE);
    	if( $error )
    		echo '<div id="message" class="error"><p>' . __('<strong>Error:</strong> There was an error connecting to the server, Please verify the settings are correct.') . '</p></div>';
    ?>

    Does anyone know how to fix this?

  2. xChristina80x
    Member
    Posted 6 years ago #

    Anyone else having this issue at all?

  3. Shane G
    Member
    Posted 5 years ago #

    Hi,

    Please refer:
    http://in.php.net/function.extract

    This would be helpful to you and if require then contact your hosting service provider..

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic