Post by harap » Sat Jul 04, 2020 12:10 pm

Hello,

I am running OC version 2.2.0
I got the following error note on page of Checkout setp 6: Confirm Order,
Notice: Undefined variable: order_id_user in /mysite.com/vqmod/vqcache/vq2-system_storage_modification_catalog_model_checkout_order.php on line 29
Notice: Undefined variable: order_id_user in /mysite.com/vqmod/vqcache/vq2-system_storage_modification_catalog_model_checkout_order.php on line 34

Can someone please help how to fix this problem?
Thanks in advance!
Last edited by harap on Wed Jul 15, 2020 8:31 am, edited 1 time in total.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by Cue4cheap » Sat Jul 04, 2020 8:17 pm

Find the vqmod that is adjusting the catalog/model/checkout/order.php file and have the developer fix it. It might be as simple as a isset check but it also should be looked into to make sure that is what is needed.
Mike

cue4cheap not cheap quality


Active Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by paulfeakins » Mon Jul 06, 2020 6:17 pm

Cue4cheap wrote:
Sat Jul 04, 2020 8:17 pm
Find the vqmod
Correct, by either looking at the code of the vQmod or disabling them one by one until the error goes away.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by harap » Tue Jul 07, 2020 12:21 am

The related error with vqmod code file line 29 and 34 are same as below:
$this->session->data['order_id'] = $order_id_user;

Can you please advise what is wrong with this?
Note: I turned off the error-log but it still displays. See the error screenshot: https://ibb.co/17YyssY

Thanks in advance!

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by harap » Wed Jul 08, 2020 11:00 pm

I could not find $order_id_user, but $order_id in the catalog/model/checkout/order.php file.
Should I edit it to "$this->session->data['order_id'] = $order_id;" from "$this->session->data['order_id'] = $order_id_user;" in vqmod ?

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by by mona » Wed Jul 08, 2020 11:15 pm

Which is the vqmod that is causing the modification to your checkout? (that is a rhetorical question)
If you are not sure you can uninstall (NOT DELETE) one by one to find out, or look at the xml files of your extensions and see which xml file makes a modification to catalog/model/checkout/order.php
Contact the developer of the extension that causes the error and ask them to fix.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by harap » Wed Jul 08, 2020 11:39 pm

I checked by uninstall all Modules one by one, but no luck.
Actually I do not even know which extension caused the problem.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by cyclops12 » Thu Jul 09, 2020 12:20 am

Well you are the only one who can see what vqmods you have installed so if you cant find it then i suggest you hire someone to look into it for you and fix

Expert Member
Online

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by harap » Thu Jul 09, 2020 12:43 am

How can these errors not to displayed on that page? https://ibb.co/17YyssY
I checked all NO from the Error Handling / Settings, but still display.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by by mona » Thu Jul 09, 2020 1:20 am

When you uninstalled did you refresh your cache each time?

You have a modification to the file - catalog/model/checkout/order.php
You need to find the vqmod xml file that does that - there is no way around it
The clues are that it is a modification to users orders and checkout - so what do you have that effects users, related to orders and requires some information from the checkout procedure .. because whilst EVEN IF you can remove the error .. if you have the modification then you are likely to cause bigger issues by ignoring this - IT IS YOUR CHECKOUT !

Go check again .. check each xml file manually for the line <file name="catalog/model/checkout/order.php"> .. or post viewforum.php?f=88 with this problem and people will contact you with a price to find it (and fix it)

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by harap » Thu Jul 09, 2020 4:31 am

:) Luckily the problem resolved by just one click Clearing the log in Modification list.
Thank you for you guys spend time.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by harap » Thu Jul 09, 2020 7:33 am

:'( The same problem comes back again.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by harap » Thu Jul 09, 2020 8:52 am

Yes, I found XML files containing:
<file path="catalog/model/checkout/order.php">

I uninstalled 3 modules that containing above code, refreshed page, deleted caches and restarted my computer, the problem persists.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States

Post by harap » Fri Jul 10, 2020 1:25 am

Problems found on Install.xml and have developer to fix it.
FTP files of upload folder fixed the error issue.

Active Member

Posts

Joined
Wed Sep 16, 2015 12:34 am
Location - United States
Who is online

Users browsing this forum: No registered users and 52 guests