My website have a bug
-
我的站点出现了如下的错误,现在store页面返回状态是500,这个是为什么啊?
[29-Mar-2022 05:34:21 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_gallery_image_ids() on bool in /home1/hardwxuw/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/Ecommerce/WooCommerceSubscriber.php:516
Stack trace:
#0 /home1/hardwxuw/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/Ecommerce/WooCommerceSubscriber.php(561): WP_RocketThirdPartyPluginsEcommerceWooCommerceSubscriber->product_has_gallery_images()
#1 /home1/hardwxuw/public_html/wp-includes/class-wp-hook.php(292): WP_RocketThirdPartyPluginsEcommerceWooCommerceSubscriber->show_notempty_product_gallery_with_delayJS(Array)
#2 /home1/hardwxuw/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
#3 /home1/hardwxuw/public_html/wp-content/plugins/wp-rocket/inc/Engine/Optimization/DelayJS/HTML.php(92): apply_filters(‘rocket_delay_js…’, Array)
#4 /home1/hardwxuw/public_html/wp-content/plugins/wp-rocket/inc/Engine/Optimization/DelayJS/Subscriber.php(85): WP_RocketEngineOptimizationDelayJSHTML->delay_js(‘n<!DOC in /home1/hardwxuw/public_html/wp-content/plugins/wp-rocket/inc/ThirdParty/Plugins/Ecommerce/WooCommerceSubscriber.php on line 516 -
I don’t see any WordPress.com sites under your account here.
What is the URL of the site with the problem?
NOTE: We can only assist with websites hosted here at WordPress.com. If you’re using the WordPress software, but hosted elsewhere, you will need to reach out to your hosting provider or the WordPress.org community for guidance: https://wordpress.org/support/
-
https://www.hardwaremanufactory.com/ this is my website, Please tell me how to solve this problem.
-
Hi there,
Your site is made using the open source WordPress software, made on WordPress.org, but it’s not hosted on our servers on WordPress.com, so we have no access to or control over it.
Based on that error, the problem is coming from the WP-Rocket plugin, so contacting their support is your best option to get this fixed:
For general help with the version of WordPress you’re using, you can ask the WordPress.org community, who makes that software, in their forums at https://wordpress.org/support/forums/
- The topic ‘My website have a bug’ is closed to new replies.