Attempt to assign property "" on array


  • Default avatar
    etrader    
     9 months ago
    0

    Hello dear sir!

    I am getting this crash. Can you please have a look at it.

    joomla 4.4.3

    virtuemart 4.2.6 10944

    php 8.1.27

    awo coupon 4.0.0.9


    Thanks!


    Call stack#FunctionLocation1()JROOT/administrator/components/com_awocoupon/awocoupon/library/class-awocoupon-library-discount.php:50852AwoCoupon_Library_Discount->array_to_object()JROOT/administrator/components/com_awocoupon/awocoupon/library/class-awocoupon-library-discount.php:50853AwoCoupon_Library_Discount->array_to_object()JROOT/administrator/components/com_awocoupon/awocoupon/library/class-awocoupon-library-discount.php:50434AwoCoupon_Library_Discount->session_get()JROOT/administrator/components/com_awocoupon/helper/estore/virtuemart/class-awocoupon-helper-estore-virtuemart-discount.php:6255AwoCoupon_Helper_Estore_Virtuemart_Discount->cart_coupon_handler()JROOT/plugins/vmcoupon/awocoupon/awocoupon.php:846plgVmCouponAwoCoupon->plgVmCouponHandler()JROOT/libraries/src/Plugin/CMSPlugin.php:2897Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin\{closure}()JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:4868Joomla\Event\Dispatcher->dispatch()JROOT/libraries/src/Application/EventAware.php:1119Joomla\CMS\Application\WebApplication->triggerEvent()JROOT/administrator/components/com_virtuemart/helpers/vdispatcher.php:4110vDispatcher::trigger()JROOT/administrator/components/com_virtuemart/helpers/calculationh.php:110111calculationHelper->couponHandler()JROOT/administrator/components/com_virtuemart/helpers/calculationh.php:95112calculationHelper->getCheckoutPrices()JROOT/components/com_virtuemart/helpers/cart.php:232913VirtueMartCart->getCartPrices()JROOT/components/com_virtuemart/helpers/cart.php:243914VirtueMartCart->prepareCartData()JROOT/components/com_virtuemart/helpers/cart.php:263415VirtueMartCart->prepareAjaxData()JROOT/modules/mod_virtuemart_cart/mod_virtuemart_cart.php:7316include()JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:5217Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:5518Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch()JROOT/libraries/src/Helper/ModuleHelper.php:28119Joomla\CMS\Helper\ModuleHelper::renderRawModule()JROOT/libraries/src/Helper/ModuleHelper.php:16120Joomla\CMS\Helper\ModuleHelper::renderModule()JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:9921Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render()JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:5022Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render()JROOT/libraries/src/Document/HtmlDocument.php:56523Joomla\CMS\Document\HtmlDocument->getBuffer()JROOT/libraries/src/Document/HtmlDocument.php:83324Joomla\CMS\Document\HtmlDocument->_renderTemplate()JROOT/libraries/src/Document/HtmlDocument.php:63725Joomla\CMS\Document\HtmlDocument->render()JROOT/libraries/src/Application/CMSApplication.php:102526Joomla\CMS\Application\CMSApplication->render()JROOT/libraries/src/Application/SiteApplication.php:72427Joomla\CMS\Application\SiteApplication->render()JROOT/libraries/src/Application/CMSApplication.php:29828Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:6129require_once()JROOT/index.php:32
  • Your avatar
    seyi    
     9 months ago
    0

    Hello,

    Even though you have the stack trace, still not clear how to fix this, unless I can produce it.  Do you have the steps to produce it?
  • Default avatar
    etrader    
     9 months ago
    0

    Hi Seyi,

    For today I can reproduce it by enabling all awo coupon plugins. 

    I log in with a cart full of items. An automatic coupon is applied. I delete a product from the cart. That is when the crash happens.

    What else would you need to debug further.

    Thanks.


  • Your avatar
    seyi    
     8 months ago
    0

    Not producing the error.  I can debug but would need you to send me a private message with temp access and full instructions on how to produce.