Hi @tin_soldier
We’re sorry to hear you’re encountering this error on your site.
Just to clarify, do you have the latest versions of WooCommerce and the Yoast Duplicate Post plugin (v4.1.2) on your website? So the error appears when you go to your WP admin dashboard > Products (sidebar) > All products menu?
Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict, is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty.
Please test this on your development or staging site, if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.
If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts
Are you still able to reproduce the issue with a default WP theme (such as TwentyTwenty) and only WooCommerce and Yoast Duplicate Post as the plugins enabled?
Hi Michael,
Thanks for your reply. I’ve activated a default theme, deactivated all plugins except yours and WooCommerce and the turned the plugins back on one by one.
The plugin which conflicts and causes the error is Groups:
https://en-nz.ww.wp.xz.cn/plugins/groups/
Hi,
We tried this on a test site with WP 5.8.1 with a default WP theme (TwentyTwenty), the latest versions of WooCommerce, Yoast Duplicate Post, and the Groups plugins as the only plugins enabled.
We then went to the WP admin dashboard > Products > All Products, but were unable to reproduce the error or issue from our end.
Would it be possible for you to try and reinstall the Yoast Duplicate Post plugin and see if this resolves the notice you are seeing?
Just reinstalled and same thing unfortunately.
To be clear, this is on a site set up as local version with the following in wp-config.php
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_DISPLAY’, true );
Hi @tin_soldier
When enabling wp_debug mode, and a default WP theme and WooCommerce, Groups, and Yoast Duplicate Post, as the plugins enabled, and then viewing the All products list, we were also able to replicate the PHP notice:
Notice: Undefined property: stdClass::$dp-rewrite-republish in /wp-admin/includes/class-wp-posts-list-table.php on line 310
Just to clarify, since wp_debug mode isn’t normally enabled for production websites, is this breaking any sort of functionality on your end?
Otherwise, we do recommend that you log a bug report here.
Thanks, have logged the error now.
It doesn’t break anything as far as I can see.
Thank you @tin_soldier for logging the bug report in our GH repo. It will be reviewed by our development team going forward to see if they can reproduce the error/notice and fix it in an upcoming release.