1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Template Errors: forum_list

Discussion in 'Media Gallery Resolved Bugs' started by Arno Nühm, Mar 10, 2015.

  1. Arno Nühm

    Arno Nühm Active Member

    I activated debug mode and have this error on top of forum list:

    Code:
    Template Errors: forum_list
    mt_rand(): max(-10) is smaller than min(0) in /var/www/XXX.de/htdocs/library/XenGallery/Callback.php, line 51:
    50: {
    51: $__compilerVar78 .= '<meta property="og:description" content="' . $__compilerVar76 . '" />';
    52: }
     
  2. Arno Nühm

    Arno Nühm Active Member

    If I disable Xenforo Media Gallery the error is gone.

    If I change the media block from "random media" to "newest media" the error is gone, too.

    Maybe this thread needs to be moved to XFMG support?

    edit: Actually there are NO images inside the gallery. Maybe this is the reason and a "little" bug.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    I have moved the thread to bugs so it can be checked.
     
  4. imthebest

    imthebest Formerly Super120

    What version of PHP are you running?
     
  5. Arno Nühm

    Arno Nühm Active Member

  6. Chris D

    Chris D XenForo Developer Staff Member

    This is fixed now, thanks.
     
    Arno Nühm likes this.

Share This Page