Answered

Still blank and syntax error WooCommerce 3.1 FPD 3.4.7

still get blank canvas when I tried to view in order viewer and this error


parse — order-viewer.js:98 

SyntaxError: JSON Parse error: Unrecognized token '\'


2 people have this question
  • I have the same problem.  Blank canvas in order viewer on admin page, but no syntax error, using FPD 3.4.7 and WooCommerce 3.1.   Email address: support (at) makergrafix (dot) com

  • Emailed you Patrick

  • Rafael? Isn't it time for a small upgrade?


  • I have the same problem.  Blank canvas in order viewer and admin page, using last FPD and WooCommerce 3.1.   Email address: medmouncef(at) gmail(dot)com

  • I am going to add a new update today with this fix:


    1. Open admin/class-admin.ajax.php
    2. Go to line 237
    3. Add this:
      $views = preg_replace("~\\\\+([\"\'\\x00\\\\])~", "$1", $views);
      before this line:
      $output = apply_filters( 'fpd_ajax_load_order_data', array(

    The final code should look like this now:

     

    $views = preg_replace("~\\\\+([\"\'\\x00\\\\])~", "$1", $views);
    
    $output = apply_filters( 'fpd_ajax_load_order_data', array(
    	'order_data' => $views
    ), $fpd_data, $_POST['order_id'], $_POST['item_id']);
    
    echo json_encode($output);
    

     

    Let me know if this is working for all of you!

  • The update V3.4.8 is now available via auto updater in WordPress. An update for the REST API plugin is also available. Please let me know if you are able to view orders in WooCommerce 3.1.

  • Since The update V3.4.8  i can not see any orders. When i click see in order viewer, it is not loading. Improved order viewer is not working also: {"code":"rest_forbidden","message"

  • I too am NOT seeing anything in the order previewer windows - please help ASAP! 
    screenshot - http://d.pr/i/ZNdbIY

  • I am having this error still with 3.4.8 and updated REST API

  • If you still have issues, please create a ticket with your WP and FTP login!

  • If anyone else has problems with loading new orders in V3.4.8, please create a ticket.

Login or Signup to post a comment