-
The Rank Math Redirection Manager automatic creation of redirect when changing post slug from “quick edit” fails with PHP Error. The redirect is not created (despite the notification saying such). The errors are as follows:
[28-Oct-2020 05:42:24 UTC] PHP Notice Undefined property: RankMath\Redirections\Redirection::$id in /app/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php on line 139 [28-Oct-2020 05:42:24 UTC] WordPress database error Column 'redirection_id' cannot be null for query INSERT INTO `wp_rank_math_redirections_cache` (`from_url`, `redirection_id`, `object_id`, `object_type`, `is_redirected`) VALUES ('/contact-us/', NULL, 795, 'post', 1) made by do_action('wp_ajax_inline-save'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ajax_inline_save, edit_post, wp_update_post, wp_insert_post, do_action('post_updated'), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Redirections\Watcher->handle_post_update, RankMath\Redirections\Watcher->create_redirection, RankMath\Redirections\Cache::add, MyThemeShop\Database\Query_Builder->insert, QM_DB->query [28-Oct-2020 05:42:24 UTC] PHP Notice Undefined property: RankMath\Redirections\Redirection::$id in /app/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php on line 139
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The ticket ‘Automatic redirect on post slug change from “quick edit” fails with PHP Error’ is closed to new replies.