I get this error and I have v138... whats wrong?
I get this error and I have v138... whats wrong?
i have been getting this message also, can somone tell me what i can do
If you're using v1.3.7, follow the instructions posted earlier.
If you're using v1.3.8 or v1.3.8a, please post the exact complete error message ... because if it's identical to the one posted earlier, then you're not really using v1.3.8 code.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I tried upgrading to 1.3.8a and i thought it worked. my error says
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/electrp3/public_html/includes/modules/payment/paypalwpp.php on line 1467
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/electrp3/public_html/includes/modules/payment/paypalwpp.php on line 1467
Warning: Cannot modify header information - headers already sent by (output started at /home/electrp3/public_html/includes/modules/payment/paypalwpp.php:1467) in /home/electrp3/public_html/includes/functions/functions_general.php on line 44
i get this message when i hit the express paypal checkout feature in my cart
can i fix this by reuploading functions_general.php and paypalwpp.php?
First, functions_general.php has nothing to do with it. Its mention is simply a secondary effect caused by the first error.
Second, how come the error message you just posted contains the same path info as the one by electronic pulse posted by someone else earlier?
It seems you're not reporting the exact error.
Line 1467 in v1.3.8a has nothing to do with any array_merge activities. Thus if you're getting that error, then you're not using v1.3.8a code.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
is this better?
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/bigmoney/public_html/catalog/includes/modules/payment/paypalwpp.php on line 1467
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/bigmoney/public_html/catalog/includes/modules/payment/paypalwpp.php on line 1467
Warning: Cannot modify header information - headers already sent by (output started at /home/bigmoney/public_html/catalog/includes/modules/payment/paypalwpp.php:1467) in /home/bigmoney/public_html/catalog/includes/functions/functions_general.php on line 44
Well, in the v1.3.8 code, lines 1465-1469 read as follows (note: no mention of any array_merge operation):In v1.3.7, line 1467 reads as shown:Code:// track one-time charges if ($order->products[$i]['onetime_charges'] != 0 ) { $onetimeSum += $order->products[$i]['onetime_charges']; $onetimeTax += zen_calculate_tax($order->products[$i]['onetime_charges'], $order->products[$i]['tax']); }In v1.3.7.1, lines 1463-1469 read thus:Code:$this->zcLog('ec_step1 - 2 -submit', print_r(array_merge($return_url, $cancel_url, $options), true));Code:// handle discounts such as gift certificates and coupons if ($credits_applied > 0) { $optionsST['HANDLINGAMT'] -= $creditsApplied; } // add all one-time charges $optionsST['ITEMAMT'] += $onetimeSum;
So, if you're seeing an array_merge() error on line 1467, that tells me that your paypal express checkout module is from v1.3.7.
The v1.3.7 PayPal code had a number of glitches, and several patches were released, culminating in v1.3.7.1.
So, as I stated in my first reply to this issue (above), you need to either apply the patch, or upgrade your site.
If you're going to upgrade your site, you may as well jump to 1.3.8a, as it is the latest as of this writing.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.