A
A
Anna2020-11-25 21:09:59
1C-Bitrix
Anna, 2020-11-25 21:09:59

How to remove error after updating Bitrix Call to undefined method Bitrix\Sale\PropertyValueCollection::refreshRelated()?

Good afternoon! After installing the recommended updates and updating the Bitrix system, an error occurred.

Call to undefined method Bitrix\Sale\PropertyValueCollection::refreshRelated() (0)
/home/larisascher/projects/kladzdor.local/www/bitrix/modules/sale/lib/order.php:175

if ((int)$shipment->getId() === 0)
      {
        $this->getPropertyCollection()->refreshRelated();
      }


With this error, the shopping cart and checkout do not work. Tell me, please, what could be the problem and how to fix it?

The method itself is present in bitrix/modules/sale/lib/propertyvaluecollectionbase.php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2020-11-25
@anton99zel

With this error, the shopping cart and checkout do not work. Tell me, please, what could be the problem and how to fix it?

https://dev.1c-bitrix.ru/api_d7/bitrix/sale/techni...
self-written ordering?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question