Menu

#4685 (ok 4.3.6) Call to a member function isUserType() on a non-object

4.3.4
fixed
None
1
2015-01-07
2015-01-05
No

PHP Fatal error: Call to a member function isUserType() on a non-object in …/phpMyAdmin-4.3.4-english/libraries/Menu.class.php on line 511

I just downloaded the archive, uncompressed it, and tried to access it. I updated from a former version where I was logged in. I cleared my cookies, tried another browser, but no luck.

If you need more information, please ask.

Related

Bugs: #4700

Discussion

  • Madhura Jayaratne

    Did you remove all the files of the older version (except the config.inc.php) before unpacking the newer version? Or does doing so now fixes the issue for you?

     
  • Madhura Jayaratne

    • status: open --> pending
     
  • Alexander Schuch

    I uncompressed the archive into a new empty directory.

    I am using:
    PHP 5.3.10-1ubuntu3.15 with Suhosin-Patch (cli) (built: Oct 29 2014 12:19:04)

     
    • Marc Delisle

      Marc Delisle - 2015-01-06

      Cannot reproduce with PHP 5.3.28, but I don't have Suhosin. Does your PHP have the mysqli extension?

       
      • Alexander Schuch

        The PHP version by the way is the stock PHP version shipped (and maintained) with Ubuntu 12.04 LTS.

        mysql
        mysqli
        PDO
        pdo_mysql

        Those are the database modules used at the server. So yes, "mysqli" is installed.

         
  • Alexander Schuch

    How is that "pending" supposed to go away?

    Anyway, I tested 4.3.5 as well - same problem. Not using a "config.inc.php", I see a login prompt. Using a "config.inc.php" - one which works for 4.2.13 - I get a blank page with following error:

    PHP Fatal error: Call to a member function isUserType() on a non-object in …/phpMyAdmin-4.3.5-english/libraries/Menu.class.php on line 511

     
    • Marc Delisle

      Marc Delisle - 2015-01-06

      Please attach your config.inc.php, obfuscating sensitive details.

       
  • Alexander Schuch

    $cfg['ServerDefault'] = 0;

    If the line above is commented out from config.inc.php, which works for 4.2.13, 4.3.5 works as well.

     
  • Madhura Jayaratne

    • status: pending --> open
     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Call to a member function isUserType() on a non-object --> (ok 4.3.6) Call to a member function isUserType() on a non-object
    • status: open --> resolved
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2015-01-07
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.