meglio/wp-upgrademe — Issue #1: Errors when viewing details of plugin
Author: simongoodchild
Created: 2011-10-27 16:55:35+00:00
State: open

Excellent plugin - going to use it with www.wpsymposium.com

All is working, except here:

There is a new version of WP Symposium Alerts available. View version 2 details or update automatically.

When clicking on View version 2 details I get the following:

Notice: Trying to get property of non-object in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 255

Notice: Trying to get property of non-object in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$author in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$requires in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$tested in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$homepage in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$downloaded in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$slug in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 258

Notice: Undefined property: stdClass::$sections in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 262

Notice: Undefined property: stdClass::$sections in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 267
FYI

Notice: Undefined property: stdClass::$sections in /Users/simongoodchild/Documents/Sites/dev/wp-admin/includes/plugin-install.php on line 347

My JSON file is as follows (using local host to test which seems to work nicely with the upgrade test):

{
"new_version":"2",
"url":"http://www.wpsymposium.com",
"package":"http://localhost:8888/latest/wp-symposium-alerts.zip",
"info":{
"name":"WP Symposium Alerts",
"author":"WP Symposium",
"author_profile":"http://www.wpsymposium.com/about",
"requires":"3.0",
"tested":"3.2.1",
"rating":0,
"num_ratings":0,
"downloaded":0,
"last_upated":"",
"added":"",
"homepage":"http://www.wpsymposium.com",
"tags":{
"wordpress":"wordpress",
"symposium":"symposium",
"alerts":"alerts"
},
"sections":{
"description":"WP Symposium Alerts plugin",
"installation":"Extract in plugins folder, activate in administration panel",
"screenshots":"",
"changelog":"",
"faq":""
}
}
}