Results 1 to 6 of 6

Thread: Not fatal foreach error at home page

  1. #1
    Join Date
    Dec 2011
    Posts
    5

    Default Not fatal foreach error at home page

    Hi,
    i just installed vbadvanced at my vbulletin.So i havent change anything, just followed the instructions from your website.
    The problem is that when i finished the installation and i open the home page of my website(vBa system) there is an error at the top of the page that is not fattal, but still is very annoying:
    Warning: Invalid argument supplied for foreach() in [path]/modules/welcomeblock.php on line 61
    the 61th line of the code is:
    PHP Code:
    foreach ($vbulletin->userinfo['reputationdisplay'] AS $rep)
            {
                
    $repimage .= '<img class="' $rep['class'] . '" src="' $vbulletin->stylevars['imgdir_reputation']['imagedir'] . '/reputation_' $rep['posneg'] . $rep['imgext'] . '" alt="" />' $rep['rowend'];
            } 
    Please help me fix this.
    Thank you

  2. #2
    Join Date
    Sep 2007
    Posts
    1,694

    Default

    Which version of vbulletin and which vBaCMPS ?
    Seen vB5 beta? No more vbulletin for me, done , gone,finished .

  3. #3
    Join Date
    Dec 2011
    Posts
    5

    Default

    Powered by vBadvanced CMPS v4.1.2
    Powered by vBulletin® Version 4.1.8
    could this be the problem?

  4. #4

    Default

    upload this welcomeblock file to you modules folder
    over write it
    Backup Backup Backup.. Thats all I can say

  5. #5
    Join Date
    Dec 2011
    Posts
    5

    Default

    Still giving the same error.
    I guess i ll reinstall and install the scripts again.
    Hope to fix the problem
    thanks

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

    Default

    It looks like I accidentally created a new bug after fixing one that was introduced when vB released v4.1.8. If you will download the CMPS from here again though and uplolad the modules/welcomeblock.php file from there over your existing one, that should take care of the issue.
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fatal Error on vBAdvanced cmps home page
    By AstroDude in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 05-23-2008, 11:12 PM
  2. Replies: 3
    Last Post: 09-04-2006, 02:15 AM
  3. upgraded - home page says fatal error admin cp doens't work, but vba cp does
    By GamingVidz.com in forum Troubleshooting & Problems
    Replies: 22
    Last Post: 09-15-2005, 02:00 PM
  4. Fatal error: Call to undefined function: print_portal_output() in /home/kid69sta/publ
    By bmroyer in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 01-10-2005, 08:34 PM
  5. Fatal error: Call to undefined function: print_portal_output() in /home/kid69sta/publ
    By bmroyer in forum Troubleshooting / "How do I..." Questions
    Replies: 6
    Last Post: 12-10-2004, 03:50 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
  •