Results 1 to 6 of 6

Thread: Latest Version - PHP Fatal error: Call to a member function, Line 94, theme-login

  1. #1
    Thread Starter
    Junior Member techwhirl's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    38
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Latest Version - PHP Fatal error: Call to a member function, Line 94, theme-login

    I'm getting the following error in my Error Log:

    PHP Fatal error: Call to a member function add() on a non-object in /home6/specibb3/public_html/techwhirl/wp-content/themes/jobroller/includes/theme-login.php on line 94 -- I don't know much PHP or I'd try to recommend a fix.

    The code from 92 - 109

    // If cookies are disabled we can't log in even with a valid user+pass
    if ( isset($_POST['testcookie']) && empty($_COOKIE[TEST_COOKIE]) )
    $errors->add('test_cookie', __('Cookies are blocked or not supported by your browser. You must enable cookies to continue.','appthemes'));

    if ( isset($_GET['loggedout']) && TRUE == $_GET['loggedout'] )
    $message = __('You are now logged out.','appthemes');

    elseif ( isset($_GET['registration']) && 'disabled' == $_GET['registration'] )
    $errors->add('registerdisabled', __('User registration is currently not allowed.','appthemes'));

    elseif ( isset($_GET['checkemail']) && 'confirm' == $_GET['checkemail'] )
    $message = __('Check your email for the confirmation link.','appthemes');

    elseif ( isset($_GET['checkemail']) && 'newpass' == $_GET['checkemail'] )
    $message = __('Check your email for your new password.','appthemes');

    elseif ( isset($_GET['checkemail']) && 'registered' == $_GET['checkemail'] )
    $message = __('Registration complete. Please check your e-mail.','appthemes');


    Thanks for your help,
    al

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    36,053
    Thanks
    158
    Thanked 2,881 Times in 2,757 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

  3. #3
    Thread Starter
    Junior Member techwhirl's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    38
    Thanks
    5
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    coza's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town, South Africa
    Posts
    141
    Thanks
    53
    Thanked 12 Times in 10 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Jobroller: JobsTown

  5. #5
    coza's Avatar
    Join Date
    Jul 2011
    Location
    Cape Town, South Africa
    Posts
    141
    Thanks
    53
    Thanked 12 Times in 10 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Jobroller: JobsTown

  6. #6
    Thread Starter
    Junior Member techwhirl's Avatar
    Join Date
    Sep 2011
    Location
    United States
    Posts
    38
    Thanks
    5
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fatal error: Call to undefined function mb_strtoupper()
    By freshjustin in forum Report Clipper Bugs
    Replies: 4
    Last Post: March 3rd, 2012, 11:17 AM
  2. Replies: 2
    Last Post: December 16th, 2011, 03:14 PM
  3. Replies: 1
    Last Post: July 22nd, 2011, 02:55 PM
  4. Fatal error: Call to undefined function mb_strlen()
    By tisoy in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: July 2nd, 2011, 09:57 AM
  5. Fatal error: Call to undefined function get_box_textfield() in
    By unoichy in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 24th, 2010, 03:20 PM