Still blank and syntax error WooCommerce 3.1 FPD 3.4.7

Posted about 7 years ago by MichiK85

Post a topic
Answered
M
MichiK85

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 Votes

Rafael D

Rafael D posted about 7 years ago Admin Best Answer

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.

0 Votes


25 Comments

Sorted by
Rafael D

Rafael D posted about 7 years ago Admin

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

0 Votes

Rafael D

Rafael D posted about 7 years ago Admin

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

0 Votes

N

Nathan Stiteler posted about 7 years ago

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

0 Votes

Evan Henry

Evan Henry posted about 7 years ago

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

0 Votes

T

Tufan posted about 7 years ago

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"

0 Votes

Rafael D

Rafael D posted about 7 years ago Admin Answer

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.

0 Votes

Rafael D

Rafael D posted about 7 years ago Admin

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!

0 Votes

m

medmouncef posted about 7 years ago

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

0 Votes

M

MichiK85 posted about 7 years ago

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


0 Votes

M

MichiK85 posted about 7 years ago

Emailed you Patrick

0 Votes

P

Patrick Griffith posted about 7 years ago

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

0 Votes

D

Danny de Kruijk posted about 7 years ago

Thanks! It is fixed. 

0 Votes

M

MichiK85 posted about 7 years ago

Emailed you

0 Votes

D

Danny de Kruijk posted about 7 years ago

dannydekruijk (at) gmail (dot) com

0 Votes

D

Danny de Kruijk posted about 7 years ago

Dannydekruijk@gmail.com. Thanks!!

0 Votes

M

MichiK85 posted about 7 years ago

Your email?

0 Votes

D

Danny de Kruijk posted about 7 years ago

I have the same problem. SyntaxError: Invalid or unexpected token. I have the latest versions of everything. I tried jQuery conflict and no-conflict mode. It happens in 3.4.6. also. Seems to be related to the latest Woocommerce update.

0 Votes

M

MichiK85 posted about 7 years ago

Of ben je gewoon NL haha

0 Votes

M

MichiK85 posted about 7 years ago

Good to hear that Gerrit! I was two days almost completely offline because of this bug. 

0 Votes

G

Gerrit Ekelmans posted about 7 years ago

Hello Michael, its working great Thank you very much, we can continu our orders. :-)

0 Votes

M

MichiK85 posted about 7 years ago

Emailed you

0 Votes

G

Gerrit Ekelmans posted about 7 years ago

hello Michael, please let me know if you can send a email. i have orders that i need to ship.


again thank you in advance

0 Votes

G

Gerrit Ekelmans posted about 7 years ago

ge8104(at)hotmail(dot)com Thank you in advance Michael

0 Votes

M

MichiK85 posted about 7 years ago

What’s your email address? He fixed it today on my site.

0 Votes

G

Gerrit Ekelmans posted about 7 years ago

i'm also not getting a blank canvas when i want to view the order, please help..

0 Votes

Login or Sign up to post a comment