Skip to content

[Bug]: TypeError with no actionable info prevents loading throbber removal #20236

@ivordurham

Description

@ivordurham

Describe the bug

After logging in and selecting a database in the left panel, the right panel populates with the list of tables but the "Loading" throbber continues to be displayed. It seems like this problem occurs frequently, but not always, when the right panel is loaded.

The browser reports an invalid JSON response and Fiddler shows the response is an HTML page reporting an Internal Error: TypeError with no additional file or cause information.

How to Reproduce

  1. Login
  2. Select a database in the left panel
  3. The right panel populates
  4. The Loading throbber remains

I'm attaching a Fiddler capture of the request & response (with the host name replaced by "example.com"). The Chrome console reports:
"Failed to parse JSON: Unexpected token '<', "<hea"... is not valid JSON"

phpmyadmin_typeerror_throbber.log

Expected behavior

No TypeError / Upon loading the right panel, the Loading throbber should disappear.

It might be better if the error reports were in JSON form and displayed appropriately.

Screenshots

Image

Operating System

Linux

Web Server

Apache/2.4.66

Database Server

MySQL, MariaDB

Database version

0.11.16-MariaDB

PHP version

8.4.18

phpMyAdmin version

5.2.3-1.fc43.remi

browser

Chrome 145.0.7632.159

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA problem or regression with an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions