the error was in the widget “archives products” of the Elementor PRO plugin. I took it out and put in another plugin and it worked. It was some conflict with the theme.
But I have another problem.
The sold out tag does not appear on the product’s main page in the product photo.
And in the variation of attributes, when the product reaches 0, the box is not exhausted. Only a pop-up appears saying to try another option