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!

New 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.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru 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 support@thekrotek.com


User avatar
Active Member

Posts

Joined
Sun Jul 03, 2016 12:24 am

Who is online

Users browsing this forum: Baidu [Spider] and 47 guests