-
作者帖子
-
一開始點進編輯商品時,商品資料還會出現
但網頁資料下載跑完 後,商品資料就變成下圖,點都沒反應相關資訊也不會出現,新增商品或是編輯其他商品也一樣有時一般設定也不見
看看是不是和上面插件有冲突导致的,可以先停用除了非 woocommerce 运行必要的全部插件,然后测试添加产品,如果成功有显示,就一个一个插件的启用排查原因。
試過了!! 能停的都停了一樣沒用!! 不該停的也停了!!
没有不该停的,排查方式是停用除开 WooCommerce 本身外的所有插件, 然后将现有主题切换到默认主题,如果这些操作都做了后台还是问题依旧的话。
看看是不是今天更新了最新版的 WooCommerce,是的话降级回滚一下版本看是否正常。
推荐一个插件:WP Rollback 后台搜索安装即可。
插件地址:https://www.weixiaoduo.com/plugins/wp-rollback
还是不行的话,就在 【工具】=【站点健康】 里复制你网站的相关参数信息贴上来,帮你看下。
### wp-core ### version: 5.5.1 site_language: zh_TW user_language: zh_TW timezone: Asia/Taipei permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: open environment_type: production user_count: 11 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/customer/www/bu-erbear.com/public_html wordpress_size: 54.74 MB (57398892 bytes) uploads_path: /home/customer/www/bu-erbear.com/public_html/wp-content/uploads uploads_size: 186.37 MB (195424559 bytes) themes_path: /home/customer/www/bu-erbear.com/public_html/wp-content/themes themes_size: 8.90 MB (9328600 bytes) plugins_path: /home/customer/www/bu-erbear.com/public_html/wp-content/plugins plugins_size: 180.42 MB (189178927 bytes) database_size: 24.84 MB (26050560 bytes) total_size: 455.27 MB (477381538 bytes) ### wp-dropins (1) ### db.php: true ### wp-active-theme ### name: Astra (astra) version: 2.5.5 author: Brainstorm Force author_website: https://wpastra.com/about/ parent_theme: none theme_features: core-block-patterns, astra_hooks, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, amp, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, infinite-scroll, widgets, menus theme_path: /home/customer/www/bu-erbear.com/public_html/wp-content/themes/astra auto_update: 已停用 ### wp-themes-inactive (3) ### Twenty Nineteen: version: 1.7, author: WordPress 團隊, 自動更新已停用 Twenty Seventeen: version: 2.4, author: WordPress 團隊, 自動更新已停用 Twenty Twenty: version: 1.5, author: WordPress 團隊, 自動更新已停用 ### wp-plugins-active (39) ### 404page - your smart custom 404 error page: version: 11.2.6, author: Peter Raschendorfer, 自動更新已停用 Astra Bulk Edit: version: 1.2.5, author: Brainstorm Force, 自動更新已停用 Astra Customizer Reset: version: 1.0.4, author: Brainstorm Force, 自動更新已停用 Astra Widgets: version: 1.2.6, author: Brainstorm Force, 自動更新已停用 CartFlows: version: 1.5.19, author: CartFlows Inc, 自動更新已停用 Checkout Manager for WooCommerce: version: 5.2.9, author: QuadLayers, 自動更新已停用 Custom Adobe Fonts (Typekit): version: 1.0.18, author: Brainstorm Force, 自動更新已停用 Custom Fonts: version: 1.2.4, author: Brainstorm Force, 自動更新已停用 Customizer Search: version: 1.1.6, author: Brainstorm Force, 自動更新已停用 ECPay Payment for WooCommerce: version: 2.0.2009280, author: ECPay Green World FinTech Service Co., Ltd., 自動更新已停用 Elementor: version: 3.0.11, author: Elementor.com, 自動更新已啟用 Elementor - Header, Footer & Blocks: version: 1.5.3, author: Brainstorm Force, Nikhil Chavan, 自動更新已停用 Elementor Pro: version: 3.0.5, author: Elementor.com, 自動更新已停用 Facebook for WooCommerce: version: 2.0.5, author: Facebook, 自動更新已停用 GA Google Analytics: version: 20200815, author: Jeff Starr, 自動更新已停用 Google Ads & Marketing by Kliken: version: 1.0.5, author: Kliken, 自動更新已停用 Jetpack by WordPress.com: version: 9.0.2, author: Automattic, 自動更新已停用 Post SMTP: version: 2.0.15, author: Yehuda Hassine, 自動更新已停用 Print Invoice & Delivery Notes for WooCommerce: version: 4.6.0, author: Tyche Softwares, 自動更新已停用 Query Monitor: version: 3.6.4, author: John Blackbourn, 自動更新已停用 SG Optimizer: version: 5.6.7, author: SiteGround, 自動更新已停用 Sidebar Manager: version: 1.1.6, author: Brainstorm Force, 自動更新已停用 Starter Templates: version: 2.3.7, author: Brainstorm Force, 自動更新已停用 Super Socializer: version: 7.13.2, author: Team Heateor, 自動更新已停用 Ultimate Addons for Gutenberg: version: 1.17.0, author: Brainstorm Force, 自動更新已停用 User Registration: version: 1.8.8, author: WPEverest, 自動更新已啟用 WooCommerce: version: 4.6.0, author: Automattic, 自動更新已啟用 WooCommerce Cart Abandonment Recovery: version: 1.2.8, author: CartFlows Inc, 自動更新已停用 WooCommerce PayPal Checkout Gateway: version: 2.1.0, author: WooCommerce, 自動更新已停用 WooCommerce Shipping & Tax: version: 1.25.0, author: Automattic, 自動更新已停用 WooLentor - WooCommerce Elementor Addons + Builder: version: 1.7.2, author: HasThemes, 自動更新已停用 Wordfence Security: version: 7.4.11, author: Wordfence, 自動更新已停用 WordPress Reset: version: 1.4.2, author: Aristeides Stathopoulos, Matt Martz, 自動更新已停用 WordPress Starter: version: 1.1.1, author: SiteGround, 自動更新已停用 WP Debugging: version: 2.9.0, author: Andy Fragen, 自動更新已停用 WPForms Lite: version: 1.6.2.3, author: WPForms, 自動更新已停用 WP Mail SMTP: version: 2.4.0, author: WPForms, 自動更新已停用 WP Rollback: version: 1.7.1, author: Impress.org, 自動更新已停用 Yoast SEO: version: 15.1, author: Team Yoast, 自動更新已停用 ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: 這台主機不提供這項功能 imagemagick_version: 這台主機不提供這項功能 file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 gd_version: bundled (2.1.0 compatible) ghostscript_version: 9.27 ### wp-server ### server_architecture: Linux 3.12.18-clouder0 x86_64 httpd_software: Apache php_version: 7.3.23 64bit php_sapi: cgi-fcgi max_input_variables: 3000 time_limit: 120 memory_limit: 768M max_input_time: 120 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 7.66.0 OpenSSL/1.1.1g-fips suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.26-29-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/customer/www/bu-erbear.com/public_html/wp-content WP_PLUGIN_DIR: /home/customer/www/bu-erbear.com/public_html/wp-content/plugins WP_MAX_MEMORY_LIMIT: 768M WP_DEBUG: true WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: true SCRIPT_DEBUG: true WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable ### jetpack ### site_id: 182435687 ssl_cert: No time_diff: undefined version_option: 9.0.2:1602349799 old_version: 9.0.1:1602038978 public: Public master_user: #1 joesma0819@gmail.com current_user: #1 joesma0819@gmail.com tokens_set: Blog User blog_token: VInWLSDXoJjxP1pgMOwrg0^dD@9@rU%4 user_token: dJu!&ic*NRG9Oi3u5aP$4i3DHtqV^K4E version: 9.0.2 jp_plugin_dir: /home/customer/www/bu-erbear.com/public_html/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Thu, 15 Oct 2020 11:46:32 +0000","finished":"Thu, 15 Oct 2020 11:46:47 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[1],"network_options":true}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/bu-erbear.com","siteurl":"https:\/\/bu-erbear.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. ### wpforms ### version: 1.6.2.3 license: false lite: 9 月 5, 2020 @ 11:54 下午 total_forms: 1 total_entries: 25 ### wp_mail_smtp ### version: 2.4.0 license_key_type: lite debug: 目前尚無偵錯注意事項。 db_tables: ths_wpmailsmtp_tasks_meta lite_install_date: 9 月 7, 2020 @ 8:29 下午
在商品頁面出現下面這個……..
呼叫 register_rest_route 的方式不正確。 siteground-wizard/v1/update-visibility 的 REST API route 定義缺少必要的 permission_callback 引數。如需公開 REST API route,請使用 __return_true 作為權限回呼。 請參閱 〈WordPress 的偵錯功能〉 以進一步瞭解相關資訊。 (這項訊息新增於 5.5.0 版) in /home/customer/www/bu-erbear.com/public_html/wp-includes/functions.php on line 5225
這有法解決嗎?
收到這封信….
楼上的两个问题和你站 woocommerce 无关,用的是 siteground 的主机的话,说实话一点儿都不好排查原因,他们提供的是虚拟主机环境,
1 、显示错误信息是因为开启了 debug,关掉就没有
WP_DEBUG: true
改成WP_DEBUG: false
论坛搜就有方法。2 、邮件提示错误是主机 IP 被邮件服务商给拉黑,配个 smtp 就行,没啥大影响。
看你上面安装了好几个缓存插件和 SMTP 插件,这些只需要选其一用即可。 siteground 里能新建空白 WordPress 了你全新开一个站,然后测试安装 woocommerce 有无相同问题。
- 如果全新空白站里都正常,我还是认为是你站插件或者主题冲突导致。
- 如果全新空白站里也不正常,而且我上面讲的那些方法你都试了均无效,就直接联系 siteground 的技术支持给你提供协助,是主机参数配置不当导致。
我也出现这个问题,这个怎么解决呢
-
作者帖子
- 哎呀,回复话题必需登录。