FrenetGatewaydeFretes / frenet-magento2

Integrate your Magento 2 with Frenet Services in a simple way.
https://www.frenet.com.br
MIT License
19 stars 10 forks source link

{"0":"Infinite loop detected, review the trace for the looping path","1":"#1 #37

Open redati opened 1 year ago

redati commented 1 year ago

https://github.com/FrenetGatewaydeFretes/frenet-magento2/blob/af3c09852d79d006c0bd5213656b68c6e787466d/Model/TotalsCollector.php#L111

parece que em alguns casos, pegar o "quote" da sessão pode causar loops infinitos. Epserimentei isso com php8.1 e magento 2.4.6

Problema ja relatado, porém relacionado não ao magneto mas a codigo de terceiros: https://github.com/magento/magento2/issues/34830 https://github.com/magento/magento2/issues/34830#issuecomment-1000430049

log: {"0":"Infinite loop detected, review the trace for the looping path","1":"#1 Frenet\Shipping\Model\TotalsCollector->getQuote()

aqui tem uma soluçao não recomendada: https://github.com/magento/magento2/issues/30029

mais informações importantes sobre: https://github.com/magento/magento2/issues/26786#issuecomment-734232673

samuelmafra commented 11 months ago

Algum update sobre isso? @redati conseguiu solucionar?