Close

Account

Documentation

Forum

Menu

Reply To: admin-ajax.php cause error 500

Post count: 13
rathasok7
December 17, 2015 at 5:18 am #16992

Hi i still got the server error even if i removed the do_add_to_cart(); from main.js. This cause a spike in my Server CPU stats.

Here is the full server error log:
[Thu Dec 17 01:13:45 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:14:19 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:18:26 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:18:38 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:19:36 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:20:23 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:20:30 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:21:38 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:22:02 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:24:32 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:25:25 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 01:25:29 2015] [error] [client 117.20.113.14] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 03:34:57 2015] [error] [client 117.20.113.17] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 03:35:44 2015] [error] [client 117.20.113.17] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 04:41:57 2015] [error] [client 66.249.69.5] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 05:03:37 2015] [error] [client 66.249.69.5] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 05:05:01 2015] [error] [client 66.249.69.5] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 05:05:28 2015] [error] [client 66.249.69.5] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 05:07:35 2015] [error] [client 66.249.69.5] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 05:10:08 2015] [error] [client 66.249.69.5] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31
[Thu Dec 17 05:12:47 2015] [error] [client 66.249.69.21] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /home/www/ioskhmer.com/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31