Internal error when editing Woocommerce product with Quick Edit function

#97600
  • Resolved Noell
    Rank Math free

    I receive the following error when editing a Woocommerce product from Products > Quick edit and then clicking “Save changes”.

    2020/10/28 19:14:39 [error] 22103#22103: *1625643 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Object of class WP_Post_Type could not be converted to string in /var/www/{url}/wp-content/plugins/seo-by-rank-math/includes/admin/class-post-columns.php:129
    Stack trace:
    #0 /var/www/{url}.nl/wp-includes/class-wp-hook.php(287): RankMath\Admin\Post_Columns->add_columns()
    #1 /var/www/{url}.nl/wp-includes/plugin.php(206): WP_Hook->apply_filters()
    #2 /var/www/{url}.nl/wp-admin/includes/class-wp-posts-list-table.php(695): apply_filters()
    #3 /var/www/{url}.nl/wp-includes/class-wp-hook.php(287): WP_Posts_List_Table->get_columns()
    #4 /var/www/{url}.nl/wp-includes/plugin.php(206): WP_Hook->apply_filters()
    #5 /var/www/{url}.nl/wp-admin/includes/screen.php(37): apply_filters()
    #6 /var/www/{url}.nl/wp-admin/includes/class-wp-list-table.php(1087): get_column_headers()
    #7 /var/www/{url}.nl/wp-admin/includes/class-wp-list-table.php(1373): WP_List_Table->get_column_info()
    #8 /var/www/{url}.nl/wp" while reading response header from upstream, client: 86.82.38.153, server: {url}.nl, request: "POST /wp-admin/admin-ajax.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "{url}.nl", referrer: "https://{url}.nl/wp-admin/edit.php?post_type=product"

    Browser console:
    Failed to load resource: the server responded with a status of 500 () https://{url}.nl/wp-admin/admin-ajax.php

    Server:
    NGINX, PHP7.4-FPM

    WordPress:
    WP 5.5, Rank Math 1.0.50.1, Woocommerce 4.6.1

    Do you have any suggestions on where to look at when debugging this issue?

    Thanks!

    From: https://wordpress.org/support/topic/internal-error-when-editing-woocommerce-product-with-quick-edit-function/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have forwarded this to our devs so they might give you some insights about it or how to solve it.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Noell
    Rank Math free

    I want to let you know that this issue was caused by an incompatibility with Testimonials Showcase, a plugin sold on Codecanyon. As mentioned in my original topic this issue has now been adressed by the author and is being fixed as we speak.

    Michael Davis
    Rank Math pro

    Hello,

    We are glad this is resolved.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Internal error when editing Woocommerce product with Quick Edit function’ is closed to new replies.