Console spam on woocommerce-wordpress's first start
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách chạy ./start.sh woocommerce-wordpress và kiểm tra output cài đặt liên quan đến việc tạo tệp đính kèm và danh mục sản phẩm. Báo cáo trỏ đến /var/www/html/wp-content/plugins/perfect-woocommerce-brands/classes/class-pwb-api-support.php:38 và cảnh báo về route REST của WordPress; hãy truy vết cách output đó đến được console. Hoàn tất khi tiến trình cài đặt có thể đọc được mà không bị các thông báo lặp lại che khuất.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Shell
- Star
- 48
- Fork
- 12
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Yoast/plugin-development-docker
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
Command to reset MySQL database Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Yoast/plugin-development-docker#59 · 1 bình luận · 1 reaction ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Yoast/plugin-development-docker#46 · 6 bình luận ·
-
Provide pre-checks in scripts Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Tất cả issue của Yoast/plugin-development-docker
Issue tương tự
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Đang mởarea: harness bug status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
fairagro/m4.2_sql_to_arc#227 ·