• Resolved Ed777

    (@d7fox7vr)


    Ошибка при редактировании товаров. Товар отображается на сайте, но при редактировании его через админ панель открывает ошибку. Нет описании и нет возможности что либо в нем изменить. Так же пришло сообщение от вордпрес о данной ошибке как только я вошел в этот товар для редактирования. Данная проблема только с одной товаром. Что делать?
    Вот код ошибки который пришел на почту:

    Проблемный плагин: WooCommerce (версия 5.9.0)
    Версия PHP 7.4.12

    Подробности ошибки
    ===================================
    Ошибка с типом E_ERROR возникла на строке 20 файла /var/www/wptbox/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php. Сообщение об ошибке: Uncaught Error: Call to a member function get_type() on bool in /var/www/wptbox/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php:20
    Stack trace:
    #0 /var/www/wptbox/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(33): include()
    #1 /var/www/wptbox/wp-admin/includes/template.php(1395): WC_Meta_Box_Product_Data::output()
    #2 /var/www/wptbox/wp-admin/edit-form-advanced.php(688): do_meta_boxes()
    #3 /var/www/wptbox/wp-admin/post.php(206): require(‘/var/www/wptbox…’)
    #4 {main}
    thrown

Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi there,

    Sorry to hear about the issue you’re facing. I’m using a translator to translate your message and you can paste mine in https://translate.google.com/.

    This kind of problem is usually caused by a conflict with your theme or with another plugin. The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same behavior after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.

    Reactivate the theme first and check again. Then, go on and reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    You can find a more detailed explanation on how to do a conflict test here:

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Let us know what you find out.

    Thread Starter Ed777

    (@d7fox7vr)

    Все работало до вчера. Новых плагинов не ставил. Ничего не менял.
    Данная проблема только с одним товаром. Всё остальные позиции работают. Только один товар не могу отредактировать, там ничего нет. А на сайте он отображается и его можно заказать. Если бы была проблема с плагинами или темой, тогда коснулось бы все товаров. Или я не прав?

    @d7fox7vr

    Everything worked until yesterday. I did not install new plugins. Changed nothing. This problem is with only one item. All other positions work. Only one product I cannot edit, there is nothing there. And on the site it is displayed and you can order it. If there was a problem with plugins or a theme, then all products would be affected. Or am I wrong?

    We’re unsure why this is happening however, a good start is to perform conflict test as earlier mentioned by @rainfallnixfig

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce ломает товары. Что делать?’ is closed to new replies.