Results 1 to 3 of 3

Thread: Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modu

  1. #1
    Join Date
    Mar 2004
    Location
    Lancashire
    Posts
    127

    Question Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modu

    I'm getting this following error after creating my own links on the navigation menu:

    Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modules/navigation.php on line 115

    Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modules/navigation.php on line 115

    Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modules/navigation.php on line 115

    Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modules/navigation.php on line 115

    Any ideas please?

  2. #2
    Join Date
    Mar 2004
    Location
    Lancashire
    Posts
    127

    Default Re: Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modu

    When i set the level to 1 in the new links in the navigation module, it all worked. I also deactivated and reactivated it and all seems okay now, thanks.

  3. #3
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: Warning: str_repeat(): Second argument has to be greater than or equal to 0. in /modu

    That problem *should* have been fixed in 2.0.0, so I'm not sure how it's popped up again. But yes, setting the Level field to a valid number will take care of it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Warning: Invalid argument
    By AstroDude in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 10-06-2005, 02:33 PM
  2. Replies: 1
    Last Post: 09-29-2005, 11:15 PM
  3. Replies: 1
    Last Post: 09-11-2005, 11:13 PM
  4. Warning: str_repeat(): Second argument ...
    By utw-Mephisto in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 08-08-2005, 06:58 PM
  5. Warning: str_repeat(): Second argument has to be greater than or equal to 0
    By nealparry in forum Troubleshooting & Problems
    Replies: 11
    Last Post: 08-03-2005, 07:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •