Post by mupcku » Fri Aug 18, 2017 5:25 pm

Hi folks! Im getting this error in the error log

Code: Select all

PHP Notice:  unserialize(): Error at offset 0 of 2 bytes in /home/zachovek/public_html/vqmod/vqcache/vq2-catalog_controller_module_d_quickcheckout.php on line 1392
When the customer is placing an order via quickcheckout and at the same time is registering new profile - this error appears BUT NOT ONLY - the products in the order are not showing! This is the following line of the code:

Code: Select all

$data['custom_field'] = unserialize($customer_info['custom_field']);
How can i fix it?
Thank you!

https://wedeom.bg
Image


Active Member

Posts

Joined
Tue Jan 24, 2017 8:12 pm

Post by straightlight » Wed Nov 15, 2017 6:24 am

Quickcheckout is an extension. Contact the extension developer to resolve this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by thekrotek » Wed Nov 15, 2017 3:23 pm

Most likely, json_decode() should be used instead of unserialize().

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: No registered users and 104 guests