Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wordpress plugin update receives an stdclass instead of an array #55

Open
javorszky opened this issue Nov 14, 2017 · 0 comments
Open

wordpress plugin update receives an stdclass instead of an array #55

javorszky opened this issue Nov 14, 2017 · 0 comments

Comments

@javorszky
Copy link

To reproduce:

  • WP 4.8.2
  • this plugin version 3.4.1
  • update available: 3.4.2
  1. go to plugins
  2. find the plugin in the list with an update available
  3. click the 'show details' link
  4. observe that nothing happens
  5. and that you have a fatal error:
[14-Nov-2017 13:29:22 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type stdClass as array in /Users/javorszky/Sites/hb/wp-admin/includes/plugin-install.php:501
Stack trace:
#0 /Users/javorszky/Sites/hb/wp-includes/class-wp-hook.php(298): install_plugin_information('')
#1 /Users/javorszky/Sites/hb/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#2 /Users/javorszky/Sites/hb/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /Users/javorszky/Sites/hb/wp-admin/plugin-install.php(67): do_action('install_plugins...')
#4 /Users/javorszky/.composer/vendor/laravel/valet/server.php(133): require('/Users/javorszk...')
#5 {main}
  thrown in /Users/javorszky/Sites/hb/wp-admin/includes/plugin-install.php on line 501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant