Fatal error on checkout
-
Hi, on rare occasions we had fatal errors on woo checkout.
Error: Call to a member function update_meta_data() on bool
File: wp-content/plugins/pixelyoursite-pro/modules/facebook/facebook-server.php
Line: 62
Happened on URI: /?wc-ajax=checkout
it’s function function saveFbTagsInOrder($order_id, $data) and I suggest add after $order = wc_get_order($order_id); line:
if(empty($order)) return;
The same thing applies to the PRO version.
Regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal error on checkout’ is closed to new replies.