Fork me on GitHub

Call to a member function on a non object error  Bottom

  • I am getting this error ( Fatal error: Call to a member function on a non-object in /home/mskp/www/dev/modules/NYC_MobileSK/pnadmin.php on line 235 ) when I try to load a module. I look at the pnadmin.php on line 235, and the block of code I see it
    if (!pnModAPILoad('nyc_mobilesk', 'admin')) {
    pnSessionSetVar('errormsg', _LOADFAILED);
    return $output->GetOutput();

    I'm not a developer ( yet) really just getting my feet wet, but I can't figure that one out.
  • That error usually seems to indicate a problem with how the module connects to the database. Try turning on legacy mode in the Settings and see if it works.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • I figured it out....dumb error on my part. I had a mixed cae in the module directory, but not in the function calls....that screwed things up.
  • 0 users

This list is based on users active over the last 60 minutes.