• Resolved rupomkhondaker

    (@rupomkhondaker)



    I have found a bug please look in class.wp-megamenu-base.php on 307 number line which its conflict with my theme

    $big_row_int_ID = rand(999999999, 9999999999999999)+3684567+($row_key+4)+$item->ID;

    so I make this changes and it works !!!
    If you want to ensure that it doesn’t overflow regardless of the system it is running on, you can use mt_getrandmax() as your second argument

    $big_row_int_ID = rand(999999999, mt_getrandmax())+3684567+($row_key+4)+$item->ID;

    **Feature request **
    When building a menu there should be a option to choose page, category,post etc

    Thanks
    Rupom

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Dear Rupom,
    Thanks a lot for your post. Greetings from our dev team. I have noted this and sent it to our dev team.

    If you like this plugin, kindly give us 5-star rate with the review.

    Kind Regards,
    Fahim Murshed
    Themeum Support Engineer

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with rand’ is closed to new replies.