[buddypress-trac] [BuddyPress Trac] #6448: Unconditional set of $wp_rewrite->use_verbose_page_rules = false breaks flush_rewrite_rules()

buddypress-trac noreply at wordpress.org
Mon Jan 4 10:08:27 UTC 2021

#6448: Unconditional set of $wp_rewrite->use_verbose_page_rules = false breaks
 Reporter:  chherbst      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Contributions
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |

Comment (by mvpspl619):

 @jasonful Along with the fix mentioned by @chherbst in #8, we also had to
 set `autoload` to `no` on `wp_options` table for the row which was saving
 `rewrite_rules`. This was because `wp_options` get storied in Object Cache
 and sometimes the value stored in cache was incorrectly generated due to
 this bug in BuddyPress.

 To do so, find the appropriate row by using: `SELECT * FROM wp_options
 WHERE option_name = 'rewrite_rules' ORDER BY option_id LIMIT 300 OFFSET
 0;` and changing the value of `autoload` column to `no`.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6448#comment:11>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list