Ok, i solved the problem. Here’s what I did:
on faq-manager.php on line 125, change this:
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
public function flush_rewrite() {
global $wp_rewrite;
$screen = get_current_screen();
if ( 'plugins' == $screen->base && isset( $_GET['activate'] ) )
$wp_rewrite->flush_rules();
if ( 'question_page_faq-options' == $screen->base && isset( $_GET['settings-updated'] ) )
$wp_rewrite->flush_rules();
}
——- with ———-
public function flush_rewrite() {
/*global $wp_rewrite;
$screen = get_current_screen();
if ( 'plugins' == $screen->base && isset( $_GET['activate'] ) )
$wp_rewrite->flush_rules();
if ( 'question_page_faq-options' == $screen->base && isset( $_GET['settings-updated'] ) )
$wp_rewrite->flush_rules();
*/
return;
}
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
That’s not really a supportable solution because when the plugin is updated you will lose your changes (and don’t use blockquote for code).
What’s causing the 404?
Apology for blockquote. I don’t know what was problem actually, there was something wrong with flush_rules() which caused 404 error.
I know that I’ll lose changes when plugin is updated. And I request plugin author to fix this problem in later version.