Error after update to 4.0 in Members plugin
-
I want to edit user capabilities in Members plugin, I get error:
Na ?ádku ?. 57 v souboru /www/doc/www.xxxxxx.cz/www/wp-content/plugins/duplicate-post/src/class-permissions-helper.php do?lo k chybě typu E_ERROR. Chybová zpráva: Uncaught TypeError: Argument 1 passed to Yoast\WP\Duplicate_Post\Permissions_Helper::is_rewrite_and_republish_copy() must be an instance of WP_Post, string given, called in /www/doc/www.xxxxxx.cz/www/wp-content/plugins/duplicate-post/src/ui/class-classic-editor.php on line 314 and defined in /www/doc/www.xxxxxx.cz/www/wp-content/plugins/duplicate-post/src/class-permissions-helper.php:57
Stack trace:
#0 /www/doc/www.xxxxxx.cz/www/wp-content/plugins/duplicate-post/src/ui/class-classic-editor.php(314): Yoast\WP\Duplicate_Post\Permissions_Helper->is_rewrite_and_republish_copy(‘shop_manager’)
#1 /www/doc/www.xxxxxx.cz/www/wp-includes/class-wp-hook.php(287): Yoast\WP\Duplicate_Post\UI\Classic_Editor->remove_slug_meta_box(‘members_page_ro…’, ‘shop_manager’)
#2 /www/doc/www.xxxxxx.cz/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#3 /www/doc/www.xxxxxx.cz/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /www/doc/ww
- The topic ‘Error after update to 4.0 in Members plugin’ is closed to new replies.