Jump to content

Upgrade from 6.2.8 to 6.4.7 broke Order Status


bos

Recommended Posts

After upgrading to 6.4.7, we (or the Paypal gateway) can no longer alter orders to "Processing" status. Paid orders are now set as "Pending" instead of "Processing" and if we manually change it to "Processing" we get a blank screen with the following in the error log:

Quote

[<strong>Exception</strong>] /customers/2/b/5/domain/httpd.www/store/modules/gateway/PayPal/gateway.class.php:23 - Attempt to modify property "basket" on null

How do we fix this?

(And before anyone mentions it, we tried to replace the Paypal Gateway with the new Paypal-plugin (that has an incredibly annoying nag screen on all orders, despite clicking "X") but Paypal will charge us 10% extra since we need to upgrade to a business account, and therefore we cannot do that, and therefore we have to use Paypal Gateway still)

Link to comment
Share on other sites

This may be related to an open issue:

https://github.com/cubecart/v6/issues/3057

If the error was copied from CubeCart's admin, System Error Log, if you hover the mouse over the error, there may be a popup that gives the trace PHP made to get to the code that errored.

If that popup appears, try to copy/paste the contents to a reply here.

Edited by bsmither
  • Like 1
Link to comment
Share on other sites

There is a reference in the issue to a conversation:

https://forums.cubecart.com/topic/58033-set-order-to-processing-then-nothing/

that mentions an edit to line 501 of order.class.php.

I do not know why the that person had a problem - it seems to be a really simple edit.

Link to comment
Share on other sites

Sorry if I was rude on GitHub @bos. My kids were driving me mental this morning and I was at boiling point. 🤣

If you want to open a support ticket I can look at this. Otherwise these gentlemen may be able to help.. heck it could even be a bug but it doesn't look like it form the offset.

.. back to support tickets for me .. it's oddly busy ATM.

Link to comment
Share on other sites

  • 1 month later...
On 12/1/2022 at 10:50 AM, bsmither said:

If the error was copied from CubeCart's admin, System Error Log, if you hover the mouse over the error, there may be a popup that gives the trace PHP made to get to the code that errored.

If that popup appears, try to copy/paste the contents to a reply here.

Hovering the lines in System Error Log does not reveal any popups for me.

 

Is there any other way to get a stacktrace?

 

2023-01-16_084054.png

Link to comment
Share on other sites

There is still a question regarding "modify property 'basket' on null" error for PayPal.

https://github.com/cubecart/v6/issues/3057

The "unsupported operand type" errors has a recently posted fix at:

https://github.com/cubecart/v6/issues/3133

 

Link to comment
Share on other sites

  • 1 month later...

The image above suggests the error was logged when the admin brought the order up for inspection from the Unsettled Orders tab in the Dashboard.

And the Bank Transfer gateway does leave the order at Pending. It doesn't provide a way for the customer to complete a transaction.

Please read the following issue in the Github and implement the fixes detailed there - all of them, as the second set of changes undoes some of the first set of changes.

Or, upgrade to CC6410 if you haven't done so already.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...