Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! 🎄

[Closed] Performance

16 Posts
3 Users
0 Reactions
13.1 K Views
Posts: 33
 jost
Topic starter
(@jost)
Eminent Member
Joined: 9 years ago
 
I load tested the code change several times and cannot see any real difference.  
Restarted mysql, nginx, php, and cleared all caches for every test.
Running on PHP 7.
 
 
Posted by: Robert

During the last month we've made lots of improvement in wpForo next version. The next 1.2.1 comming soon. At the moment I'd recommend do this small change which may decrease your SQLs 30% off. This was a bug in 1.2.0 version.

Open /wpforo/wpf-includes/class-permissions.php file

Find this line:

if( isset( $this->wpforo->post_options['lang'] ) && $this->wpforo->post_options['lang'] ){

Change to this:

if( isset( $this->wpforo->general_options['lang'] ) && $this->wpforo->general_options['lang'] ){

It should look like this:


Page 4 / 4