[Plugin: WP Db Abstraction] Not showing posts
-
Not showing posts while working with sql server.
The problem is in file translations.php, the part which replaces Limit statement to Top statement.
The following lines// Check for true offset if ( count($limit_matches) == 5 && $limit_matches[1] != '0' ) { $true_offset = true; } elseif ( count($limit_matches) == 5 && $limit_matches[1] == '0' ) { $limit_matches[1] = $limit_matches[4]; }
should be rewritten as
// Check for true offset if ( count($limit_matches) == 5 && $limit_matches[1] != '0' ) { $true_offset = true; } elseif ( count($limit_matches) >= 5 && $limit_matches[1] == '0' ) { $limit_matches[1] = $limit_matches[4]; }
” == 5 ” in elseif replaced as ” >= 5 “
https://www.ads-software.com/extend/plugins/wordpress-database-abstraction/
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘[Plugin: WP Db Abstraction] Not showing posts’ is closed to new replies.