Error caused failed order | WordPress.org

[ad_1]

Hello,

Please check the post at https://projectdmc.org/support/topic/error-error-saving-order-id/

Also, please check the error on server, and it will cause failed order:

2024/01/03 17:23:45 [error] 40435#40435: *2082 FastCGI sent in stderr: "PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1610PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1611PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1612PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1613PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622" while reading response header from upstream, client: 47.128.58.31, server: mysite.com, request: "GET /shop/happy-school-bag/18-inch-waterproof-nylon-graffiti-pattern-harajuku-school-backpack/?verified=1 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-two-fpm.sock:", host: "mysite.com"

2024/01/03 17:36:32 [error] 40433#40433: *2306 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "GET /checkout/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/shop/briefcases/15-7-17-inch-genuine-leather-mens-retro-business-briefcases-messenger-bag-for-15-6-laptop/?attribute_pa_color=dark-brown&attribute_pa_size=17-inch&attribute_pa_material=genuine-leather&utm_source=Google&utm_medium=GoogleFreeList&utm_campaign=GoogleShopping&utm_term=Bags&utm_content=D1&wmc-currency=USD&srsltid=AfmBOoqI3ADEC0Qglwz8ikwndEPFuehD890lzld6agiplwFv26aK9E8jrYE"

2024/01/03 17:37:46 [error] 40433#40433: *2325 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "GET /checkout/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/shop/briefcases/15-7-17-inch-genuine-leather-mens-retro-business-briefcases-messenger-bag-for-15-6-laptop/?attribute_pa_color=dark-brown&attribute_pa_size=17-inch&attribute_pa_material=genuine-leather&utm_source=Google&utm_medium=GoogleFreeList&utm_campaign=GoogleShopping&utm_term=Bags&utm_content=D1&wmc-currency=USD&srsltid=AfmBOoqI3ADEC0Qglwz8ikwndEPFuehD890lzld6agiplwFv26aK9E8jrYE"

2024/01/03 17:39:26 [error] 40433#40433: *2351 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "POST /wp-json/wc/store/v1/batch?_locale=user HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/checkout/"

2024/01/03 17:39:33 [error] 40433#40433: *2351 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "POST /wp-json/wc/store/v1/batch?_locale=user HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/checkout/"

2024/01/03 17:39:40 [error] 40433#40433: *2351 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "POST /wp-json/wc/store/v1/batch?_locale=user HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/checkout/"

2024/01/03 17:40:00 [error] 40434#40434: *2355 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "POST /wp-json/wc/store/v1/batch?_locale=user HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/checkout/"

2024/01/03 17:42:11 [error] 40435#40435: *2400 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 72.220.101.34, server: mysite.com, request: "POST /wp-json/wc/store/v1/batch?_locale=user HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/checkout/"

2024/01/03 18:36:26 [error] 40433#40433: *4600 FastCGI sent in stderr: "PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1610PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1611PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1612PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1613PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1610PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1611PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1612PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1613PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/lovc

2024/01/03 19:32:10 [error] 40434#40434: *5601 FastCGI sent in stderr: "PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1610PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1611PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1612PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1613PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1622PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1610PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1611PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1612PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/mysite.com/htdocs/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 1613PHP message: PHP Warning:  Trying to access array offset on value of type bool in /var/www/lovc

2024/01/04 01:59:29 [error] 55095#55095: *2538 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading upstream, client: 24.199.120.100, server: mysite.com, request: "GET /cart/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/cart/"

2024/01/04 02:00:53 [error] 55096#55096: *2570 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /checkout/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/cart/"

2024/01/04 02:01:30 [error] 55096#55096: *2582 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "rates" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-pro/includes/Shipping/Hooks.php on line 777" while reading response header from upstream, client: 24.199.120.100, server: mysite.com, request: "GET /checkout/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/cart/"

So, anyway to fix the issue?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer