I just noticed that this error is happing on every post for a long, long time.
[Mon Aug 22 18:38:28.796179 2016] [fcgid:warn] [pid 13260] [client xx.xx.xx.xx:40653] mod_fcgid: stderr: PHP Fatal error: Call to undefined function wc_get_page_id() in /var/www/xxxxx/xxxxxx/httpdocs/wp-content/themes/jmagz-themes/fragment/top-cart.php on line 31, referer: http://fakewebsite.nl/2016/nieuws/wie-wordt-de-nieuwe-burgemeester-in-hoorn/
Solutions from the others threads aren’t working.
Questions A) How to solve this? B) Is it possible to make the shop an option to use or not? Would make the site load faster for non-shop users.
hi Flexgids, if you doesn’t have plan to use woocommerce you can simply remove the code. you can go to jmagz themes plugin > lib > ajax-response.php. On line 506, you can remove those line.
Thanks. That seems to work.
I tried it before, but in the wrong theme folder.
great Flexgids 🙂
You must be logged in to reply to this topic.