【问题标题】:Bigcommerce plug-in product syncing issues in WordpressWordPress 中的 Bigcommerce 插件产品同步问题
【发布时间】:2020-01-17 05:17:10
【问题描述】:

错误信息

这里有一些可能有用的信息。

WP 版本 5.2.5

插件活动
Akismet 反垃圾邮件 - 4.1.3
适用于 WordPress 的 BigCommerce - 3.12.0
面包屑 - 1.5.3
即将推出页面,SeedProd 正在建设和维护模式 - 5.1.0
联系表格 7 - 5.1.6
Google Maps Easy - 1.9.27
插入页眉和页脚 - 1.4.4
插入 PHP 代码片段 - 1.3.1
WordPress.com 的 Jetpack - 7.8.1
LiteSpeed 缓存 - 2.9.9.2
通知 - 6.3.0
SiteOrigin CSS - 1.2.4
粘性侧面按钮 - 1.0.9
UpdraftPlus - 备份/恢复 - 1.16.20
Yoast SEO - 12.8.1

服务器环境 PHP 版本 7.1.33
最长执行时间 30
内存限制 256M
上传最大文件大小 256M
帖子最大尺寸 8M
WP调试
WP调试显示
WP 调试日志
Mysql 版本 5.5.61
网络服务器 Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4

错误日志

[2020-01-17 03:22:27] BigCommerce.INFO: Starting import [] []
[2020-01-17 03:22:28] BigCommerce.INFO: Running import task {"state":"started","description":"Fetching store information"} []
[2020-01-17 03:22:28] BigCommerce.DEBUG: Requesting store settings [] []
[2020-01-17 03:22:30] BigCommerce.DEBUG: Retrieved store settings {"settings":{"bigcommerce_currency_code":"AUD","bigcommerce_currency_symbol":"$","bigcommerce_currency_symbol_position":"left","bigcommerce_decimal_units":2,"bigcommerce_integer_units":4,"bigcommerce_mass_unit":"kg","bigcommerce_length_unit":"cm","bigcommerce_wishlists_enabled":1,"bigcommerce_facebook_pixel_id":"","bigcommerce_google_analytics_id":""}} []
[2020-01-17 03:22:32] BigCommerce.INFO: Running import task {"state":"fetched_store","description":"Retrieving currency settings"} []
[2020-01-17 03:22:32] BigCommerce.DEBUG: Requesting currency settings [] []
[2020-01-17 03:22:35] BigCommerce.INFO: Running import task {"state":"fetched_currencies","description":"Removing Categories"} []
[2020-01-17 03:22:35] BigCommerce.DEBUG: Removing deleted terms for bigcommerce_category taxonomy {"page":1,"limit":50,"taxonomy":"bigcommerce_category"} []
[2020-01-17 03:22:50] BigCommerce.ERROR: API call to https://api.bigcommerce.com/stores/zby41x9gmk/v3/catalog/categories?id%3Ain=18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27%2C28%2C29%2C30%2C31%2C32%2C33%2C34%2C35%2C36%2C37%2C38%2C39%2C40%2C41%2C42%2C43%2C44%2C45%2C46%2C47%2C48%2C49%2C50%2C51%2C52%2C53%2C54%2C55%2C56%2C57%2C58%2C59%2C60%2C61%2C62%2C63%2C64%2C65%2C66%2C67&limit=50&include_fields=id failed: Connection timed out after 15001 milliseconds {"response":null,"headers":null} []
[2020-01-17 03:22:50] BigCommerce.DEBUG: #0 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Api/Caching_Client.php(57): BigCommerce\Api\v3\ApiClient->callApi('/catalog/catego...', 'GET', Array, '', Array, '\\BigCommerce\\Ap...', '/catalog/catego...') #1 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/vendor/moderntribe/bigcommerce-api-php-v3/src/Api/CatalogApi.php(6469): BigCommerce\Api\Caching_Client->callApi('/catalog/catego...', 'GET', Array, '', Array, '\\BigCommerce\\Ap...', '/catalog/catego...') #2 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/vendor/moderntribe/bigcommerce-api-php-v3/src/Api/CatalogApi.php(6415): BigCommerce\Api\v3\Api\CatalogApi->getCategoriesWithHttpInfo(Array) #3 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Processors/Category_Purge.php(30): BigCommerce\Api\v3\Api\CatalogApi->getCategories(Array) #4 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Processors/Term_Purge.php(74): BigCommerce\Import\Processors\Category_Purge->get_remote_term_ids(Array) #5 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(211): BigCommerce\Import\Processors\Term_Purge->run() #6 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Task_Manager.php(94): BigCommerce\Container\Import->BigCommerce\Container\{closure}('fetched_currenc...') #7 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(280): BigCommerce\Import\Task_Manager->run_next('fetched_currenc...') #8 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(286): BigCommerce\Container\Import->BigCommerce\Container\{closure}('fetched_currenc...') #9 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #10 /home/piranhaoffroadco/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #11 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Runner/Cron_Runner.php(51): do_action('bigcommerce/imp...', 'fetched_currenc...') #12 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(104): BigCommerce\Import\Runner\Cron_Runner->continue_import() #13 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(284): BigCommerce\Container\Import->BigCommerce\Container\{closure}() #14 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #15 /home/piranhaoffroadco/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #16 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Runner/Cron_Runner.php(73): do_action('bigcommerce_con...') #17 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(108): BigCommerce\Import\Runner\Cron_Runner->ajax_continue_import() #18 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(284): BigCommerce\Container\Import->BigCommerce\Container\{closure}() #19 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #20 /home/piranhaoffroadco/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #21 /home/piranhaoffroadco/public_html/wp-admin/admin-ajax.php(173): do_action('wp_ajax_bigcomm...') #22 {main} [] []

【问题讨论】:

  • API 调用超时可能有几个原因。确保可以从 PHP 主机访问 https://api.bigcommerce.com

标签: wordpress bigcommerce


【解决方案1】:

感谢分享这些日志!为了更好地了解您的 BC4WP 设置,我有一些后续问题:

插件之前和最近停止工作是否正常工作?如果是这样,您使用的其他插件或主题是否有任何更新?如果您可以分享您的 WordPress 网站和 BigCommerce 商店 URL,这也可以帮助缩小导致问题的范围 :)

【讨论】:

  • 是的。它之前一直在工作,最近停止工作,然后 Bigcommerce 5 天前进行了更新。我认为更新导致了问题。所以我更新了插件,认为它可以解决问题,但它仍然存在。这是Wordpress 网站。这是Bigcommerce 商店网址。这里还有一个问题,我们使用的主题不再更新,这里是link of the theme.。我不知道第一个开发者为什么使用那个主题。
  • 所有插件都更新了。我们现在使用的 Wordpress 版本是 5.2.5。当前的 Wordpress 版本是 5.3.2。恐怕如果我们更新 Wordpress 本身,它会恢复我们对主题所做/自定义的所有更改。
  • 我会尝试停用和删除 BC4WP 插件,该插件将从 WordPress 站点删除产品和现有商店数据,因为在导入期间发生错误。从那里您可以重新安装插件,使用 API 凭据激活它,更多信息可以在 dev docs here 上找到。
  • BC4WP 2 天前再次工作,但产品同步超慢。直到现在它仍在同步。完成同步后,我将尝试您的建议。谢谢!
猜你喜欢
  • 2017-12-02
  • 1970-01-01
  • 2016-04-23
  • 2015-09-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多