Thanks for the details. I’m not sure what is happening as __return_false
is a valid WP function and is used in many other places than Postie.
Its possible that some other plugin has also registered a hook for the duplicate_comment_id filter and passed in _return_false
(only one leading underscore rather than 2)
You can likely get around this on the Postie side by setting “Allow Duplicate Comments” to “No”
Thanks for your fast response!
Changing “Allow Duplicate Comments” to “No” doesn’t change the error.
I can’t find any plugin that changes __return_false to _return_false:
grep -rn . -e ‘_return_false’
./another-wordpress-classifieds-plugin/includes/compatibility/class-jetpack-plugin-integration.php:47: add_filter( ‘jetpack_enable_open_graph’, ‘__return_false’ );
./another-wordpress-classifieds-plugin/includes/compatibility/class-seo-framework-plugin-integration.php:96: add_filter( ‘awpcp-should-generate-rel-canonical’, ‘__return_false’ );
./another-wordpress-classifieds-plugin/includes/compatibility/class-seo-framework-plugin-integration.php:97: add_filter( ‘awpcp-should-generate-basic-meta-tags’, ‘__return_false’ );
./another-wordpress-classifieds-plugin/includes/compatibility/class-seo-framework-plugin-integration.php:98: add_filter( ‘awpcp-should-generate-title’, ‘__return_false’ );
./google-sitemap-generator/class-googlesitemapgeneratorloader.php:86: add_filter( ‘wp_sitemaps_enabled’, ‘__return_false’ );
./google-sitemap-generator/sitemap.php:117: add_filter( ‘wp_sitemaps_enabled’, ‘__return_false’ );
./peters-login-redirect/src/core/src/Admin/RedirectionsPage.php:125: add_filter(‘screen_options_show_screen’, ‘__return_false’);
./wp-optimize/cache/class-wp-optimize-cache-commands.php:211: add_filter(‘updraft_interrupt_tasks_queue_load-url-task’, ‘__return_false’, 99);
./wp-mail-smtp/src/Options.php:1524: add_filter( ‘wp_mail_smtp_options_is_const_enabled’, ‘__return_false’, PHP_INT_MAX );
./wp-mail-smtp/src/Options.php:1526: remove_filter( ‘wp_mail_smtp_options_is_const_enabled’, ‘__return_false’, PHP_INT_MAX );
./postie/postie.class.php:53: add_filter(‘duplicate_comment_id’, ‘__return_false’);
./query-monitor/classes/Dispatcher.php:97: add_filter( “qm/dispatch/{$this->id}”, ‘__return_false’ );
./events-manager/buddypress/bp-em-core.php:327: add_filter(‘option_dbem_js_limit’, ‘__return_false’);
./events-manager/buddypress/bp-em-core.php:328: add_filter(‘option_dbem_css_limit’, ‘__return_false’);
./events-manager/classes/em-taxonomy-frontend.php:90: add_filter(‘mtm_is_cpt_page’, ‘__return_false’);
./mailpoet/lib/Cron/ActionScheduler/RemoteExecutorHandler.php:31: $this->wp->addFilter(‘https_local_ssl_verify’, ‘__return_false’, 100);
./tablepress/classes/class-render.php:298: add_filter( ‘tablepress_apply_nl2br’, ‘__return_false’, 9 ); // Priority 9, so that this filter can easily be overwritten at the default priority.
./tablepress/classes/class-render.php:319: remove_filter( ‘tablepress_apply_nl2br’, ‘__return_false’, 9 ); // Priority 9, so that this filter can easily be overwritten at the default priority.
Any other thoughts?
Setting Treat Replies as “New Posts” instead of “Comments” fixes it, but it makes for a lot of new posts.
Try setting Treat Replies As
back to Comments
and set Allow Duplicate Comments
to No
The latest version of Postie (1.9.64) should fix this issue.