Support » Plugin: WP Db Abstraction » Issue with using multisite

Viewing 3 replies - 1 through 3 (of 3 total)
  • Found the fix for anyone who’s interested.

    In ‘translations.php’ around line 739 in the ‘translate_limit()’ function you currently have:

    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];
            }

    This needs to be changed to:

    if ( count($limit_matches) == 6 && $limit_matches[1] != '0' ) {
                $true_offset = true;
            } elseif ( count($limit_matches) == 6 && $limit_matches[1] == '0' ) {
                $limit_matches[1] = $limit_matches[4];
            }

    Hope this helps someone else!

    Yup that did it for me, thank you very much for the fix!!!

    Though this leads me to wonder what other functionality is broken by the db abstraction…

    Agreed.

    Also, this fixes the “Posts” and “Pages” listings if anyone was curious.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with using multisite’ is closed to new replies.