Jump to content

Fatal error in module orders: syntax error, unexpected ''quantit' (T_ENCAPSED_AND_WHITE


nickfromtq

Recommended Posts

When I try and click on the ebay module I get the following error. 

 

[PrestaShop] Fatal error in module orders:
syntax error, unexpected ''quantit' (T_ENCAPSED_AND_WHITESPACE), expecting ')'

 

 

Can amyone please help, it was working fine yesterday and I have not updated anything in our system.

 

Many thanks

Nick

Link to comment
Share on other sites

Hi, 

 

I have checked /modules/ebay/log/orders.php 

 

and at the end of the file 

 

  196 => 
  array (
    'id_order_ref' => '2217548761725-1566123400012',
    'id_order_seller' => '2413',
    'amount' => '19.99',
    'status' => 'Complete',
    'date' => '2015-05-17 09:13:29',
    'email' => '[email protected]',
    'products' => 
    array (
      0 => 
      array (
        'id_product' => 76,
        'id_product_attribute' => 63,
        'id_ebay_profile' => 1,
        'quantit
 
 
Do you think this is the problem and if so would you know how I can fix it. 

Many thanks
Nick
Link to comment
Share on other sites

array (

        'id_product' => 76,
        'id_product_attribute' => 63,
        'id_ebay_profile' => 1,
        'quantit
 
why the above is incomplete, isn't should be like the below you should have a value for 'quantit and then closing bracket )
 
array (
        'id_product' => 76,
        'id_product_attribute' => 63,
        'id_ebay_profile' => 1,
        'quantit'=> 1)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...