Full error with WooCommerce plugin ….
I’m getting this error with the WooCommerce plugin from Awesome Support when my RestAPI is working…
09.220.157.18 - ck_b91fe34779bf7910dc499d4bc47f6cf081a19407 [12/Jun/2023:13:33:38 +0200] "GET /wp-json/wc/v3/products/?sku=TSM_IP11_64GB_MAUVE_AB HTTP/1.1" 500 1485 "-" "PostmanRuntime/7.29.0"
172.31.29.114 - - [12/Jun/2023:13:33:38 +0200] "GET / HTTP/1.1" 301 425 "-" "ELB-HealthChecker/2.0"
[Mon Jun 12 13:33:40.205153 2023] [php:error] [pid 10058] [client 13.36.151.155:0] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/wp-content/plugins/awesome-support-woocommerce/includes/class-aswc-custom-fields.php:133\nStack trace:\n#0 /var/www/html/wp-content/plugins/awesome-support-woocommerce/includes/class-aswc-custom-fields.php(37): aswc_get_orders_list()\n#1 /var/www/html/wp-includes/class-wp-hook.php(308): awesome_support_woocommerce_register_field('')\n#2 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)\n#3 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n#4 /var/www/html/wp-settings.php(623): do_action('init')\n#5 /var/www/html/wp-config.php(152): require_once('/var/www/html/w...')\n#6 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...')\n#7 /var/www/html/wp-cron.php(46): require_once('/var/www/html/w...')\n#8 {main}\n thrown in /var/www/html/wp-content/plugins/awesome-support-woocommerce/includes/class-aswc-custom-fields.php on line 133
13.36.151.155 - - [12/Jun/2023:13:33:39 +0200] "POST /wp-cron.php?doing_wp_cron=1686569619.7688920497894287109375 HTTP/1.1" 500 1467 "-" "WordPress/6.2;