[vbulletin] I am getting a strange error can someone help me?

Discussion in 'vBulletin' started by KingMohan, Nov 13, 2008.

  1. #1
    
    Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/class_paid_subscription.php on line 560
    
    Warning: implode() [function.implode]: Invalid arguments passed in [path]/includes/class_paid_subscription.php on line 560
    Database Error 	Database error
    The WrestlingBay database has encountered a problem.
    Please try the following:
    
        * Load the page again by clicking the Refresh button in your web browser.
        * Open the www.wrestlingbay.com home page, then try to open another page.
        * Click the Back button to try another link.
    
    The www.wrestlingbay.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
     
    We apologise for any inconvenience.
    
    -----------
    
    Database error in vBulletin 3.7.4:
    
    Invalid SQL:
    
    					DELETE FROM access
    					WHERE forumid IN () AND
    						userid = 5136;
    
    MySQL Error   : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND
    						userid = 5136' at line 2
    Error Number  : 1064
    Request Date  : Friday, November 14th 2008 @ 01:13:42 AM
    Error Date    : Friday, November 14th 2008 @ 01:13:42 AM
    Script        : http://www.wrestlingbay.com/admincp/subscriptions.php?do=status
    Referrer      : http://www.wrestlingbay.com/admincp/subscriptions.php?do=adjust&subscriptionlogid=85
    IP Address    : 122.49.151.112
    Username      : AaDiL
    Classname     : vB_Database
    MySQL Version : 4.1.10-standard
    
    Code (markup):
    Subscription of a person does not end automatically so i am trying to do it manually but its giving me this problem. does anyone have an idea of how to fix this?
     
    KingMohan, Nov 13, 2008 IP
  2. mkda

    mkda Active Member

    Messages:
    139
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #2
    "Invalid arguments passed in"

    What values are being passed in?
     
    mkda, Nov 13, 2008 IP
  3. KingMohan

    KingMohan Well-Known Member

    Messages:
    515
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #3
    tried to delete the sub
     
    KingMohan, Nov 13, 2008 IP
  4. b4db0y

    b4db0y Notable Member

    Messages:
    3,523
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    205
    #4
    what version of php are you using?
     
    b4db0y, Nov 13, 2008 IP
  5. millionaire08

    millionaire08 Guest

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I experience that a couple of moths ago...you know what... Im quit using vb bulletin.. now im just using phpbb
     
    millionaire08, Nov 13, 2008 IP
  6. b4db0y

    b4db0y Notable Member

    Messages:
    3,523
    Likes Received:
    74
    Best Answers:
    0
    Trophy Points:
    205
    #6
    also forgot to say try removing the class_paid_subscription.php file after storing it on ur pc, if it works gud else reupload it.
     
    b4db0y, Nov 13, 2008 IP
  7. KingMohan

    KingMohan Well-Known Member

    Messages:
    515
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #7
    b4db0y added u on msn :) its the latest php and vb 3.7.4
     
    KingMohan, Nov 14, 2008 IP
  8. ~kev~

    ~kev~ Well-Known Member

    Messages:
    2,866
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    110
    #8
    The subscription probably has ended, you may need to update your user titles. This is a little problem with VB, and the developers are aware of it. If a paid group has a title, when the subscription has expired, and the person is moved back to their original group, the title is not updated. So it "looks" like they are still in the paid members group, when in fact their not.

    Check and make sure this is not the case. After that, update your members ranks and titles.

    VBulletin control panel - Maintenance - update counters - Update User Titles and Ranks
     
    ~kev~, Nov 14, 2008 IP