Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

ezrecommends error

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 04-29-2008, 04:46 PM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 172
 

Default ezrecommends error

Hi all,

With a product in my cart, clicking checkout results in this error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/streetor/public_html/modules/ezRecommends/ezrecommends.php(20) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 99

After 5 seconds it continues to the checkout and everything appears normal...

This error appeared after I made no changes. Where do I start to look to fix it?

Site is www.streetortrack.com
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #2  
Old 04-29-2008, 06:27 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: ezrecommends error

Moving to Third Party Add-Ons.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-30-2008, 11:39 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: ezrecommends error

that's due to an error in the code itself, as it assumes a certain variable is an array (but doesn't verify it's an array).
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #4  
Old 05-01-2008, 07:12 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: ezrecommends error

You are likely using an old version and should contact us about upgrading.
Reply With Quote
  #5  
Old 05-01-2008, 07:47 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 172
 

Default Re: ezrecommends error

Jon,

Sent you an email this morning. Please contact me.

Bit perplexed at how it can start throwing errors when I haven't touched the site in a few weeks..
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #6  
Old 05-01-2008, 07:56 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: ezrecommends error

Shaun, it's due to how a variable is filled with data, so it could be a situation as simple as there were no recommends on a certain page, which made it throw an error. The code can be exactly the same, and you would almost never see that error under certain conditions.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #7  
Old 05-02-2008, 09:57 AM
 
Shaun Shaun is offline
 

Senior Member
  
Join Date: Sep 2005
Location: Michigan, USA
Posts: 172
 

Default Re: ezrecommends error

Quote:
Originally Posted by intel352
Shaun, it's due to how a variable is filled with data, so it could be a situation as simple as there were no recommends on a certain page, which made it throw an error. The code can be exactly the same, and you would almost never see that error under certain conditions.

You are right. It seems it only does it when there is nothing to recommend. I've had this mod for years and never seen this before!

What can I do about it?
__________________
X-Cart 5.4.1.19
Live site - www.streetortrack.com
Reply With Quote
  #8  
Old 05-02-2008, 10:18 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: ezrecommends error

As (the other) Jon pointed out, you apparently have an old version, you should be able to contact him at WebsiteCM to get a current copy.

Cheers!
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:49 AM.

   

 
X-Cart forums © 2001-2020