• diverse99

    (@diverse99)


    Hi All

    I need some help , and my hosting company 1and1 do not do support for this error.

    The error message I am getting is as follows:-

    Warning: mt_rand(): max(1) is smaller than min(96) in /homepages/22/d513475680/htdocs/clickandbuilds/WordPress/KenKleenNew/wp-content/themes/flatsome/inc/class.php on line 1

    This has all of a sudden just appeard.

    The website in question is as follows:-

    https://www.ken-kleen.co.uk

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Emanuel

    (@emanuellimeira)

    Hi diverse99,

    Nudged you the answer to this problem?

    I have this problem too.

    Thanks,

    Emanuel

    That’s simple:

    Flatsome don’t have any CLASS.PHP file, so, you have to make two things:

    1.- Go to YOUR-SITE-URL/wp-content/themes/flatsome/inc/ and DELETE “class.php” (do it, don’t be afraid)
    2.- Go to /wp-content/themes/flatsome/function.php and DELETE or COMMENT with “//” the 11 line. That line has something like this “include ‘inc/class.php’;”

    Don’t ask me why, I did it and now my site is working.

    Hope to be helpfully.

    PD: Sorry about my english, I’m Chilean trying to help ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: mt_rand(): max(1) is smaller than min(96) in’ is closed to new replies.