Console spam on woocommerce-wordpress's first start
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
调研方向
首先运行 ./start.sh woocommerce-wordpress,并检查附件和产品类别生成附近的安装输出。报告指向 /var/www/html/wp-content/plugins/perfect-woocommerce-brands/classes/class-pwb-api-support.php:38 以及 WordPress REST 路由警告;追踪该输出如何到达控制台。完成的标准是:安装进度清晰可读,且不会被重复的通知遮挡。
由索引模型根据 Issue 内容生成。
描述
Until now I only ran the default ./start.sh on this laptop.
Today I ran ./start.sh woocommerce-wordpress and while installing it showed a lot of output.
For example:
[22-Oct-2020 11:27:42 UTC] PHP Notice: register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>wc/v3/brands</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /var/www/html/wp-includes/functions.php on line 5225
[22-Oct-2020 11:27:42 UTC] PHP Stack trace:
[22-Oct-2020 11:27:42 UTC] PHP 1. {main}() /usr/local/bin/wp:0
[22-Oct-2020 11:27:42 UTC] PHP 2. include() /usr/local/bin/wp:4
[22-Oct-2020 11:27:42 UTC] PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
[22-Oct-2020 11:27:42 UTC] PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:27
[22-Oct-2020 11:27:42 UTC] PHP 5. WP_CLI\Bootstrap\LaunchRunner->process() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:74
[22-Oct-2020 11:27:42 UTC] PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23
[22-Oct-2020 11:27:42 UTC] PHP 7. WP_CLI\Runner->load_wordpress() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1158
[22-Oct-2020 11:27:42 UTC] PHP 8. WP_CLI::do_hook() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1263
[22-Oct-2020 11:27:42 UTC] PHP 9. WC_CLI_Runner::after_wp_load() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php:304
[22-Oct-2020 11:27:42 UTC] PHP 10. do_action() /var/www/html/wp-content/plugins/woocommerce/includes/cli/class-wc-cli-runner.php:59
[22-Oct-2020 11:27:42 UTC] PHP 11. WP_Hook->do_action() /var/www/html/wp-includes/plugin.php:478
[22-Oct-2020 11:27:42 UTC] PHP 12. WP_Hook->apply_filters() /var/www/html/wp-includes/class-wp-hook.php:311
[22-Oct-2020 11:27:42 UTC] PHP 13. Perfect_Woocommerce_Brands\PWB_API_Support->register_endpoints() /var/www/html/wp-includes/class-wp-hook.php:287
[22-Oct-2020 11:27:42 UTC] PHP 14. register_rest_route() /var/www/html/wp-content/plugins/perfect-woocommerce-brands/classes/class-pwb-api-support.php:38
[22-Oct-2020 11:27:42 UTC] PHP 15. _doing_it_wrong() /var/www/html/wp-includes/rest-api.php:103
[22-Oct-2020 11:27:42 UTC] PHP 16. trigger_error() /var/www/html/wp-includes/functions.php:5225
Since I have my history capped I'm not sure what it was doing to cause these, but after those it continued with attachment generation, product category generation, etc. (no more spam).
Good to note that it seems to install fine. It just obscures any potential information on the actual installation process.
- 主要语言
- Shell
- 星标
- 48
- 派生
- 12
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Yoast/plugin-development-docker 的其他 Issue
-
enhancement
难度 3/5 1-2 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 35/100
Yoast/plugin-development-docker#59 · 1 条评论 · 1 个 reaction ·
-
bug
难度 3/5 1-2 天 新手友好度 35/100
-
bug
难度 4/5 3-5 天 新手友好度 35/100
Yoast/plugin-development-docker#46 · 6 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
查看 Yoast/plugin-development-docker 的全部 Issue
相似的 Issue
-
review-drift
难度 2/5 1-3 小时 新手友好度 78/100
oxidecomputer/hansei#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
-
omarchy-menu-keybindings lua bind scan spins at 100% CPU when user config iterates a mocked hl API未关闭
难度 2/5 1-3 小时 新手友好度 82/100
omacom/omarchy#14302 · 1 条评论 ·
维护者通常 1 天内回复
-
Link Checker Report可能已有人在做 @keraron 今天认领。 未关闭automated issue report
难度 2/5 1-3 小时 新手友好度 68/100
a2aproject/A2A#2297 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
mattpocock/skills#1165 ·