Menu

#781 Trying to access array offset on value of type bool

Git
closed-fixed
nobody
None
5
2021-02-12
2021-02-09
michalzuber
No

Using PHP 8.0.2
Downloaded version 4.7.9 and getting error
Trying to access array offset on value of type bool in /srv/http/adminer/index.php on line 1735
connecting to MySQL (in Docker)
Tried emptying cookies or in Incognito, the same error

Discussion

  • Jakub Vrána

    Jakub Vrána - 2021-02-10
    • status: open --> closed-out-of-date
     
  • Jakub Vrána

    Jakub Vrána - 2021-02-10

    This is already fixed in Git.

     
  • sztanpet

    sztanpet - 2021-02-11

    After updating to 4.8.0, the error is still present, just with line number 1467.

     
  • Jakub Vrána

    Jakub Vrána - 2021-02-12

    Please download the source codes and paste here a stack trace from the error line. There's no array operation at line 1467 of adminer-4.8.0.php.

     
  • michalzuber

    michalzuber - 2021-02-12

    Tried code from master https://github.com/vrana/adminer.git

    PHP Warning:  Trying to access array offset on value of type bool in /srv/http/adminer-git/adminer/include/auth.inc.php on line 44
    PHP Warning:  Undefined variable $tables in /srv/http/adminer-git/adminer/include/adminer.inc.php on line 972
    

    Arch Linux PHP/8.0.2

     
  • Jakub Vrána

    Jakub Vrána - 2021-02-12
    • status: closed-out-of-date --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2021-02-12

    Thanks, this is really useful, fixed. Please comment here if you find more.

     

Log in to post a comment.

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.