diggy / polylang-cli

WP-CLI community package of Polylang commands
https://github.com/diggy/polylang-cli
MIT License
34 stars 19 forks source link

Undefined index: hook_suffix in `wp pll string list` #89

Closed diggy closed 7 years ago

diggy commented 7 years ago
PHP Notice:  Undefined index: hook_suffix in /usr/local/var/www/vhosts/localhost/pll/wp-admin/includes/class-wp-screen.php on line 229
PHP Stack trace:
PHP   1. {main}() /usr/local/Cellar/wp-cli/1.3.0/php/boot-fs.php:0
PHP   2. include_once() /usr/local/Cellar/wp-cli/1.3.0/php/boot-fs.php:17
PHP   3. WP_CLI\bootstrap() /usr/local/Cellar/wp-cli/1.3.0/php/wp-cli.php:23
PHP   4. WP_CLI\Bootstrap\LaunchRunner->process() /usr/local/Cellar/wp-cli/1.3.0/php/bootstrap.php:75
PHP   5. WP_CLI\Runner->start() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Bootstrap/LaunchRunner.php:23
PHP   6. WP_CLI\Runner->_run_command() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Runner.php:985
PHP   7. WP_CLI\Runner->run_command() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Runner.php:330
PHP   8. WP_CLI\Dispatcher\Subcommand->invoke() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Runner.php:323
PHP   9. call_user_func:{/usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Dispatcher/Subcommand.php:401}() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Dispatcher/Subcommand.php:401
PHP  10. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Dispatcher/Subcommand.php:401
PHP  11. call_user_func:{/usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Dispatcher/CommandFactory.php:81}() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Dispatcher/CommandFactory.php:81
PHP  12. Polylang_CLI\Commands\StringCommand->list_() /usr/local/Cellar/wp-cli/1.3.0/php/WP_CLI/Dispatcher/CommandFactory.php:81
PHP  13. PLL_Table_String->__construct() /usr/local/var/www/vhosts/localhost/pll/vendor/diggy/polylang-cli/src/Commands/String.php:65
PHP  14. PLL_Table_String->__construct() /usr/local/var/www/vhosts/localhost/pll/wp-content/plugins/polylang/settings/table-string.php:25
PHP  15. convert_to_screen() /usr/local/var/www/vhosts/localhost/pll/wp-admin/includes/class-wp-list-table.php:143
PHP  16. WP_Screen::get() /usr/local/var/www/vhosts/localhost/pll/wp-admin/includes/template.php:2054
diggy commented 7 years ago

fixed w/ dc2c6b39475ba4d558f58a0848aee034ca1bfccc