[Skip to main content](#vessel-content)

#   Frontend Order Edit Status Popup Hangs after OK button clicked

##

- **[ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")**
- [![ACMLLC's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34241-acmllc "View ACMLLC's Profile") Topic Author
- [ Offline](/forum/user/34241-acmllc)

Less More

- Posts: 21
- Thank you received: 2
-
-

9 years 1 week ago -  9 years 1 week ago [\#282215](#282215) by [ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")  *[Frontend Order Edit Status Popup Hangs after OK button clicked](/forum/22-market-bug-report/892711-frontend-order-edit-status-popup-hangs-after-ok-button-clicked#282215 "-- HikaShop version -- : 3.2.1 -- HikaMarket version -- : 2.0.0 -- Joomla version -- : 3.8.1 -- PHP version -- : 5.6.32 -- Browser(s) name and version -- : Firefox 56.0.2 -- Error-message(debug-mod must be tuned on) -- :  - That's it! -  Hi,  When logging into the frontend as a Vendor, I go to the list of orders, then click on an individual order for details.  I then click on the &quot;Edit Status&quot; button. A popup appears where I can change the order status from the dropdown.  When I change the order status -- in my case from &quot;confirmed&quot; to &quot;cancelled&quot; or &quot;refunded&quot; or a custom status we call &quot;processed&quot; -- and then click the &quot;OK&quot; button, the popup hangs and is a blank white. The upper right &quot;X&quot; is visible to then close the popup.  When back on the order details screen, the change is not visible, only the previous status, but when I go &quot;back&quot; to the long list of orders I see that the order status has indeed been changed.  Finally, there seems to be toggling behavior where I return to the same order's details, click the Edit Status button, and change the status back to the original status. I click OK button and then it works! The popup closes and the spinner is visible for a brief moment while the status changes on the order details page.  I am able to do this consistently, both the error and the toggling effect that gets it working when reverting status back. See the error messages when debugging and Maximum error reporting turned on. The fatal error is the Call to a member function get() on null in /home/camarr/public&#95;html/agapecatholicministries/administrator/components/com&#95;hikamarket/classes/order.php on line 1690.  Thanks.  Thanks for looking into this")* was created by *[ACMLLC](/forum/user/34241-acmllc "View ACMLLC's Profile")*

-- HikaShop version -- : 3.2.1
-- HikaMarket version -- : 2.0.0
-- Joomla version -- : 3.8.1
-- PHP version -- : 5.6.32
-- Browser(s) name and version -- : Firefox 56.0.2
-- Error-message(debug-mod must be tuned on) -- : Code:

Strict Standards: Only variables should be assigned by reference in /home/camarr/public_html/agapecatholicministries/plugins/system/joomdlehikashopstartdate/joomdlehikashopstartdate.php on line 38 Strict Standards: Only variables should be assigned by reference in /home/camarr/public_html/agapecatholicministries/plugins/system/joomdlehikashopstartdate/joomdlehikashopstartdate.php on line 47 Strict Standards: Only variables should be assigned by reference in /home/camarr/public_html/agapecatholicministries/plugins/system/joomdlehikashopgroups/joomdlehikashopgroups.php on line 38 Strict Standards: Only variables should be assigned by reference in /home/camarr/public_html/agapecatholicministries/plugins/system/joomdlehikashopgroups/joomdlehikashopgroups.php on line 47 Notice: Undefined variable: config in /home/camarr/public_html/agapecatholicministries/administrator/components/com_hikamarket/classes/order.php on line 1690 Fatal error: Call to a member function get() on null in /home/camarr/public_html/agapecatholicministries/administrator/components/com_hikamarket/classes/order.php on line 1690

Code:

1685 $parentOrder-&gt;hikamarket-&gt;internal_process = true; 1686 1687 $parentOrder-&gt;history = new stdClass(); 1688 $parentOrder-&gt;history-&gt;history_reason = JText::sprintf('AUTOMATIC_UPDATE_WITH_VENDORS'); 1689 $parentOrder-&gt;history-&gt;history_type = 'modification'; 1690 $parentOrder-&gt;history-&gt;history_notified = (bool)$config-&gt;get('send_mail_subsale_update_main', 0); 1691 1692 $shopOrderClass = hikamarket::get('shop.class.order'); 1693 $shopOrderClass-&gt;save($parentOrder); 1694 1695 $vendor_new_total = $this-&gt;recalculateVendorPrice($order, true);

- That's it! -

Hi,

When logging into the frontend as a Vendor, I go to the list of orders, then click on an individual order for details.

I then click on the "Edit Status" button. A popup appears where I can change the order status from the dropdown.

When I change the order status -- in my case from "confirmed" to "cancelled" or "refunded" or a custom status we call "processed" -- and then click the "OK" button, the popup hangs and is a blank white. The upper right "X" is visible to then close the popup.

When back on the order details screen, the change is not visible, only the previous status, but when I go "back" to the long list of orders I see that the order status has indeed been changed.

Finally, there seems to be toggling behavior where I return to the same order's details, click the Edit Status button, and change the status back to the original status. I click OK button and then it works! The popup closes and the spinner is visible for a brief moment while the status changes on the order details page.

I am able to do this consistently, both the error and the toggling effect that gets it working when reverting status back. See the error messages when debugging and Maximum error reporting turned on. The fatal error is the Call to a member function get() on null in /home/camarr/public_html/agapecatholicministries/administrator/components/com_hikamarket/classes/order.php on line 1690.

Thanks.

Thanks for looking into this

Last edit: 9 years 1 week ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg5MjcxMS1mcm9udGVuZC1vcmRlci1lZGl0LXN0YXR1cy1wb3B1cC1oYW5ncy1hZnRlci1vay1idXR0b24tY2xpY2tlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 week ago [\#282218](#282218) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Frontend Order Edit Status Popup Hangs after OK button clicked](/forum/22-market-bug-report/892711-frontend-order-edit-status-popup-hangs-after-ok-button-clicked#282218 "-- HikaShop version -- : 3.2.1 -- HikaMarket version -- : 2.0.0 -- Joomla version -- : 3.8.1 -- PHP version -- : 5.6.32 -- Browser(s) name and version -- : Firefox 56.0.2 -- Error-message(debug-mod must be tuned on) -- :  - That's it! -  Hi,  When logging into the frontend as a Vendor, I go to the list of orders, then click on an individual order for details.  I then click on the &quot;Edit Status&quot; button. A popup appears where I can change the order status from the dropdown.  When I change the order status -- in my case from &quot;confirmed&quot; to &quot;cancelled&quot; or &quot;refunded&quot; or a custom status we call &quot;processed&quot; -- and then click the &quot;OK&quot; button, the popup hangs and is a blank white. The upper right &quot;X&quot; is visible to then close the popup.  When back on the order details screen, the change is not visible, only the previous status, but when I go &quot;back&quot; to the long list of orders I see that the order status has indeed been changed.  Finally, there seems to be toggling behavior where I return to the same order's details, click the Edit Status button, and change the status back to the original status. I click OK button and then it works! The popup closes and the spinner is visible for a brief moment while the status changes on the order details page.  I am able to do this consistently, both the error and the toggling effect that gets it working when reverting status back. See the error messages when debugging and Maximum error reporting turned on. The fatal error is the Call to a member function get() on null in /home/camarr/public&#95;html/agapecatholicministries/administrator/components/com&#95;hikamarket/classes/order.php on line 1690.  Thanks.  Thanks for looking into this")*

Hello,

Thanks for the report, I'll add a patch in the packages as soon as possible.
In the mean time, you can just add the line Code:

$config = hikamarket::config();

just the line before to remove the error.

Regards

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg5MjcxMS1mcm9udGVuZC1vcmRlci1lZGl0LXN0YXR1cy1wb3B1cC1oYW5ncy1hZnRlci1vay1idXR0b24tY2xpY2tlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
