[wp-testers] PHP warning from update.php

Stephen Rider wp-hackers at striderweb.com
Wed Nov 26 03:36:21 GMT 2008


I get this PHP error loading the plugins page in WP 2.7:

[25-Nov-2008 21:32:52] PHP Warning:  Illegal offset type in isset or  
empty in .../public_html/wp/wp-admin/includes/update.php on line 150


that would be here:

function wp_plugin_update_row( $file, $plugin_data ) {
	$current = get_option( 'update_plugins' );
	if ( !isset( $current->response[ $file ] ) )     // <--- line 150
		return false;

Stephen


-- 
Stephen Rider
<http://striderweb.com/>





More information about the wp-testers mailing list