• Resolved Noëll Taravati

    (@nectar91)


    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @nectar91

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

    It is working fine on our end:
    https://i.rankmath.com/8XvXUM

    Assuming your server is not blocking the AJAX requests, and you are using the latest version of all the plugins, themes, and WordPress (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Thread Starter Noëll Taravati

    (@nectar91)

    Sorry for the caused inconvenience. I’ve just found out that Testimonials Showcase was causing this issue with Rank Math specifically. I’ve asked them to have a look at this issue.

    Thread Starter Noëll Taravati

    (@nectar91)

    The author of Testimonials Showcase has addressed this issue and seems to have fixed it.

    Plugin Author Rank Math

    (@rankmath)

    Hello @nectar91

    Glad you got that sorted.

    Please feel free to reach out again in case you need any other assistance.

    We are here to help. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Internal error when editing Woocommerce product with Quick Edit function’ is closed to new replies.