A lot of queries - ...
 
Notifications
Clear all

wpForo 1.x.x [Closed] A lot of queries - bug

3 Posts
2 Users
1 Likes
571 Views
Posts: 2
Topic starter
(@tarsky88)
Active Member
Joined: 4 years ago

Hello, In wordpress multisite version 1.7.2 there is a bug. The main page is ok, but for other site it is: https://prnt.sc/ru6i12 259 same queries. There should be only one. In version 1.7.0 there were no problems.

2 Replies
Posts: 2
Topic starter
(@tarsky88)
Active Member
Joined: 4 years ago

Problem is with this code: add_action('switch_blog', array($this, 'after_switch_blog'), 10, 2); in private function init_hooks(){...

After delete all is ok.

1 Reply
Alvina
Moderator
(@alvina)
Joined: 4 years ago

Member
Posts: 1869

@tarsky88,

We will reconsider this.

Regarding the same queries, that means you have many subsites on the one multisite.