Syntax error or access violation 1064

Hi there,
In step 8 I have an error:
You can see de screenshot:
http://vvcap.com/nOkJZzTvQX3
Thanks regards.

3 answers

Profile photo of Mall Staff 184060.00 $tone July 25, 2017
Public

Hi there,
That because your database has some records with bad data in the table rating_option_vote_aggregated
To handle that, you could do following steps:
Step 1: Download the php file at HERE
Step 2: Upload replace downloaded file to the file at path: pub/ub-tool/protected/controllers/Step8Controller.php
Step 3: Once done, you can continue with data migration in the step #8.
And tell me know how it goes.
Regards,
Mall.

#1
Profile photo of Mall Staff 184060.00 $tone July 26, 2017
Public

Hi there,

Can you tell me what you changed?

In the php file at path: pub/ub-tool/protected/controllers/Step8Controller.php
To handle for your cases with bad data, i have changed the code line from:

if ($ratingId2) {

to:

if ($ratingId2 && !is_null($productId2)) {

FYI,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments