Reputation: 794
I have been following this tutorial to deploy a WordPress plugin through Github. After setting up everything. I get an error
Undefined property: stdClass::$name in /opt/.../wp-admin/includes/plugin-install.php on line 621
In the plugin infobox. What could I be doing wrong?
Upvotes: 0
Views: 824
Reputation: 1039
Try adding $response->name = $this->pluginData["Name"];
to function setPluginInfo
. I think you could remove $response->plugin_name...
. Perhaps there was a change since that guide was written back in 2014.
Upvotes: 1