Type Error occurred when creating object: Magento\Framework\Interception\Config\Config after upgrade to 2.3.2?

After I ran the update from 2.2.8 to 2.3.2 I am getting this error whenever I run a CLI command like upgrade or cache clean: main.CRITICAL: Type Error occurred when creating object: Magento\Framework\Interception\Config\Config, Return value of Magento\Framework\Interception\Config\CacheManager::load() must be of the type array or null, string returned [] [] Any idea how to solve that?…

magento , sales order save after how correctly update order data

How correctly update status for order? i have this code, but it’s not working for me public function salesOrderSaveAfter($event){ //check for fires twice if(!Mage::registry(‘backorder_daniilkrok_observer’)){ $order = $event->getOrder(); $orderIncrementId = $order->getIncrementId(); Mage::register(‘backorder_daniilkrok_observer’,true); Mage::log(‘i here’); foreach ($order->getAllVisibleItems() as $item){ $oldQty = (int)$item->getProduct()->getStockItem()->getQty(); $qtyOrdered = (int)$item->getQtyOrdered(); $differenceQty = $oldQty – $qtyOrdered; //increase the price by 25% if($oldQty >…