Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: can't access property "error", data.responseJSON is undefined #19086

Open
liviuconcioiu opened this issue Mar 30, 2024 · 3 comments
Labels
affects/6.0 This issue or pull-request affects 6.0.x releases (and maybe further versions) Bug A problem or regression with an existing feature confirmed/6.0 This issue is confirmed to be reproduced on 6.0 at the time this label was set
Milestone

Comments

@liviuconcioiu
Copy link
Contributor

Describe the bug

Uncaught TypeError: can't access property "error", data.responseJSON is undefined.

https://demo.phpmyadmin.net/master-config/public/index.php?route=/console/update-config gives 404 -> Error 404! The page /console/update-config was not found.

@MauricioFauth

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://demo.phpmyadmin.net/master-config/public/
  2. See error

Expected behavior

No error should be given.

Server configuration

  • phpMyAdmin version: 6.0.0-dev

Additional context

{
    "pma_version": "6.0.0-dev",
    "browser_name": "FIREFOX",
    "browser_version": "126.0",
    "user_os": "Win",
    "server_software": "nginx/1.14.2",
    "user_agent_string": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0",
    "locale": "en",
    "configuration_storage": "disabled",
    "php_version": "8.2.17",
    "script_name": "index.php",
    "exception_type": "js",
    "exception": {
        "mode": "stack",
        "name": "TypeError",
        "message": "can't access property \"error\", data.responseJSON is undefined",
        "stack": [
            {
                "func": "26/setConfigValue/<",
                "line": "1476",
                "column": "136",
                "context": [
                    "    'ajax_request': true,",
                    "    server: _common_ts__WEBPACK_IMPORTED_MODULE_2__.CommonParams.get('server'),",
                    "    key: key,",
                    "    value: value",
                    "  }).fail(function (data) {",
                    "    const message = '<div class=\"alert alert-danger\" role=\"alert\">' + (0,_f//...",
                    "    (0,_ajax_message_ts__WEBPACK_IMPORTED_MODULE_1__.ajaxShowMessage)(messa//...",
                    "  });",
                    "}",
                    "",
                    "/***/ }),"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "c",
                "line": "2",
                "column": "25304",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fireWith",
                "line": "2",
                "column": "26053",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "l",
                "line": "2",
                "column": "77807",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "send/o/<",
                "line": "2",
                "column": "80265",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "EventHandlerNonNull*send",
                "line": "2",
                "column": "80451",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "ajax",
                "line": "2",
                "column": "76167",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "?",
                "line": "2",
                "column": "4771",
                "context": [
                    "/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | //...",
                    "\"undefined\"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t)//...",
                    "//# sourceMappingURL=jquery-migrate.min.map"
                ],
                "uri": "js/vendor/jquery/jquery-migrate.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery-migrate.min.js"
            },
            {
                "func": "a/e[t]",
                "line": "2",
                "column": "1582",
                "context": [
                    "/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | //...",
                    "\"undefined\"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t)//...",
                    "//# sourceMappingURL=jquery-migrate.min.map"
                ],
                "uri": "js/vendor/jquery/jquery-migrate.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery-migrate.min.js"
            },
            {
                "func": "ce[i]",
                "line": "2",
                "column": "78232",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "setConfigValue",
                "line": "1470",
                "column": "49",
                "context": [
                    "/**",
                    " * @param {'StartHistory'|'AlwaysExpand'|'CurrentQuery'|'EnterExecutes'|'Da//...",
                    " * @param {boolean|string|number} value",
                    " */",
                    "function setConfigValue(key, value) {",
                    "  jquery__WEBPACK_IMPORTED_MODULE_0___default().post('index.php?route=/cons//...",
                    "    'ajax_request': true,",
                    "    server: _common_ts__WEBPACK_IMPORTED_MODULE_2__.CommonParams.get('server'),",
                    "    key: key,",
                    "    value: value",
                    "  }).fail(function (data) {"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "setMode",
                "line": "1446",
                "column": "19",
                "context": [
                    "    this.darkTheme = value;",
                    "    setConfigValue('DarkTheme', value);",
                    "  }",
                    "  setMode(value) {",
                    "    this.mode = value;",
                    "    setConfigValue('Mode', value);",
                    "  }",
                    "  setHeight(value) {",
                    "    this.height = value;",
                    "    setConfigValue('Height', value);",
                    "  }"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "collapse",
                "line": "300",
                "column": "12",
                "context": [
                    "  },",
                    "  /**",
                    "   * Change console to collapse mode",
                    "   */",
                    "  collapse: function () {",
                    "    config.setMode('collapse');",
                    "    var pmaConsoleHeight = Math.max(92, config.height);",
                    "    Console.$consoleToolbar.addClass('collapsed');",
                    "    Console.$consoleAllContents.height(pmaConsoleHeight);",
                    "    Console.$consoleContent.css({",
                    "      display: 'none'"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "info",
                "line": "340",
                "column": "13",
                "context": [
                    "   * this mode shows current SQL query",
                    "   * This mode is the default mode",
                    "   */",
                    "  info: function () {",
                    "    // Under construction",
                    "    Console.collapse();",
                    "  },",
                    "  /**",
                    "   * Toggle console mode between collapse/show",
                    "   * Used for toggle buttons and shortcuts",
                    "   */"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "setupAfterInit",
                "line": "235",
                "column": "17",
                "context": [
                    "    switch (config.mode) {",
                    "      case 'collapse':",
                    "        Console.collapse();",
                    "        break;",
                    "      case 'info':",
                    "        Console.info();",
                    "        break;",
                    "      case 'show':",
                    "        Console.show(true);",
                    "        Console.scrollBottom();",
                    "        break;"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "initialize",
                "line": "102",
                "column": "13",
                "context": [
                    "    const consoleElement = document.getElementById('pma_console');",
                    "    if (consoleElement === null) {",
                    "      return;",
                    "    }",
                    "    config = _console_config_ts__WEBPACK_IMPORTED_MODULE_6__[\"default\"].cre//...",
                    "    Console.setupAfterInit();",
                    "  },",
                    "  /**",
                    "   * Setup the console after the config has been set at initialize stage",
                    "   */",
                    "  setupAfterInit: function () {"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "4/<",
                "line": "17",
                "column": "60",
                "context": [
                    "/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#_//...",
                    "/* harmony import */ var _modules_console_ts__WEBPACK_IMPORTED_MODULE_1__ =//...",
                    "",
                    "",
                    "jquery__WEBPACK_IMPORTED_MODULE_0___default()(function () {",
                    "  _modules_console_ts__WEBPACK_IMPORTED_MODULE_1__.Console.initialize();",
                    "});",
                    "",
                    "",
                    "/***/ }),",
                    ""
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "e",
                "line": "2",
                "column": "27028",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "Deferred/then/l/</t<",
                "line": "2",
                "column": "27330",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "setTimeout handler*Deferred/then/l/<",
                "line": "2",
                "column": "27594",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "c",
                "line": "2",
                "column": "25304",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fireWith",
                "line": "2",
                "column": "26053",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fire",
                "line": "2",
                "column": "26089",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "c",
                "line": "2",
                "column": "25304",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fireWith",
                "line": "2",
                "column": "26053",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "ready",
                "line": "2",
                "column": "29112",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "P",
                "line": "2",
                "column": "28884",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "EventListener.handleEvent*",
                "line": "2",
                "column": "29264",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "?",
                "line": "2",
                "column": "220",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "?",
                "line": "2",
                "column": "225",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            }
        ],
        "uri": "index.php?"
    }
}
@williamdes williamdes added Bug A problem or regression with an existing feature affects/6.0 This issue or pull-request affects 6.0.x releases (and maybe further versions) confirmed/6.0 This issue is confirmed to be reproduced on 6.0 at the time this label was set labels Mar 30, 2024
@williamdes williamdes added this to the 6.0.0 milestone Mar 30, 2024
@SachinBahukhandi
Copy link
Contributor

Describe the bug

Uncaught TypeError: can't access property "error", data.responseJSON is undefined.

https://demo.phpmyadmin.net/master-config/public/index.php?route=/console/update-config gives 404 -> Error 404! The page /console/update-config was not found.

@MauricioFauth

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://demo.phpmyadmin.net/master-config/public/
  2. See error

Expected behavior

No error should be given.

Server configuration

  • phpMyAdmin version: 6.0.0-dev

Additional context

{
    "pma_version": "6.0.0-dev",
    "browser_name": "FIREFOX",
    "browser_version": "126.0",
    "user_os": "Win",
    "server_software": "nginx/1.14.2",
    "user_agent_string": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0",
    "locale": "en",
    "configuration_storage": "disabled",
    "php_version": "8.2.17",
    "script_name": "index.php",
    "exception_type": "js",
    "exception": {
        "mode": "stack",
        "name": "TypeError",
        "message": "can't access property \"error\", data.responseJSON is undefined",
        "stack": [
            {
                "func": "26/setConfigValue/<",
                "line": "1476",
                "column": "136",
                "context": [
                    "    'ajax_request': true,",
                    "    server: _common_ts__WEBPACK_IMPORTED_MODULE_2__.CommonParams.get('server'),",
                    "    key: key,",
                    "    value: value",
                    "  }).fail(function (data) {",
                    "    const message = '<div class=\"alert alert-danger\" role=\"alert\">' + (0,_f//...",
                    "    (0,_ajax_message_ts__WEBPACK_IMPORTED_MODULE_1__.ajaxShowMessage)(messa//...",
                    "  });",
                    "}",
                    "",
                    "/***/ }),"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "c",
                "line": "2",
                "column": "25304",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fireWith",
                "line": "2",
                "column": "26053",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "l",
                "line": "2",
                "column": "77807",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "send/o/<",
                "line": "2",
                "column": "80265",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "EventHandlerNonNull*send",
                "line": "2",
                "column": "80451",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "ajax",
                "line": "2",
                "column": "76167",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "?",
                "line": "2",
                "column": "4771",
                "context": [
                    "/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | //...",
                    "\"undefined\"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t)//...",
                    "//# sourceMappingURL=jquery-migrate.min.map"
                ],
                "uri": "js/vendor/jquery/jquery-migrate.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery-migrate.min.js"
            },
            {
                "func": "a/e[t]",
                "line": "2",
                "column": "1582",
                "context": [
                    "/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | //...",
                    "\"undefined\"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t)//...",
                    "//# sourceMappingURL=jquery-migrate.min.map"
                ],
                "uri": "js/vendor/jquery/jquery-migrate.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery-migrate.min.js"
            },
            {
                "func": "ce[i]",
                "line": "2",
                "column": "78232",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "setConfigValue",
                "line": "1470",
                "column": "49",
                "context": [
                    "/**",
                    " * @param {'StartHistory'|'AlwaysExpand'|'CurrentQuery'|'EnterExecutes'|'Da//...",
                    " * @param {boolean|string|number} value",
                    " */",
                    "function setConfigValue(key, value) {",
                    "  jquery__WEBPACK_IMPORTED_MODULE_0___default().post('index.php?route=/cons//...",
                    "    'ajax_request': true,",
                    "    server: _common_ts__WEBPACK_IMPORTED_MODULE_2__.CommonParams.get('server'),",
                    "    key: key,",
                    "    value: value",
                    "  }).fail(function (data) {"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "setMode",
                "line": "1446",
                "column": "19",
                "context": [
                    "    this.darkTheme = value;",
                    "    setConfigValue('DarkTheme', value);",
                    "  }",
                    "  setMode(value) {",
                    "    this.mode = value;",
                    "    setConfigValue('Mode', value);",
                    "  }",
                    "  setHeight(value) {",
                    "    this.height = value;",
                    "    setConfigValue('Height', value);",
                    "  }"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "collapse",
                "line": "300",
                "column": "12",
                "context": [
                    "  },",
                    "  /**",
                    "   * Change console to collapse mode",
                    "   */",
                    "  collapse: function () {",
                    "    config.setMode('collapse');",
                    "    var pmaConsoleHeight = Math.max(92, config.height);",
                    "    Console.$consoleToolbar.addClass('collapsed');",
                    "    Console.$consoleAllContents.height(pmaConsoleHeight);",
                    "    Console.$consoleContent.css({",
                    "      display: 'none'"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "info",
                "line": "340",
                "column": "13",
                "context": [
                    "   * this mode shows current SQL query",
                    "   * This mode is the default mode",
                    "   */",
                    "  info: function () {",
                    "    // Under construction",
                    "    Console.collapse();",
                    "  },",
                    "  /**",
                    "   * Toggle console mode between collapse/show",
                    "   * Used for toggle buttons and shortcuts",
                    "   */"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "setupAfterInit",
                "line": "235",
                "column": "17",
                "context": [
                    "    switch (config.mode) {",
                    "      case 'collapse':",
                    "        Console.collapse();",
                    "        break;",
                    "      case 'info':",
                    "        Console.info();",
                    "        break;",
                    "      case 'show':",
                    "        Console.show(true);",
                    "        Console.scrollBottom();",
                    "        break;"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "initialize",
                "line": "102",
                "column": "13",
                "context": [
                    "    const consoleElement = document.getElementById('pma_console');",
                    "    if (consoleElement === null) {",
                    "      return;",
                    "    }",
                    "    config = _console_config_ts__WEBPACK_IMPORTED_MODULE_6__[\"default\"].cre//...",
                    "    Console.setupAfterInit();",
                    "  },",
                    "  /**",
                    "   * Setup the console after the config has been set at initialize stage",
                    "   */",
                    "  setupAfterInit: function () {"
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "4/<",
                "line": "17",
                "column": "60",
                "context": [
                    "/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#_//...",
                    "/* harmony import */ var _modules_console_ts__WEBPACK_IMPORTED_MODULE_1__ =//...",
                    "",
                    "",
                    "jquery__WEBPACK_IMPORTED_MODULE_0___default()(function () {",
                    "  _modules_console_ts__WEBPACK_IMPORTED_MODULE_1__.Console.initialize();",
                    "});",
                    "",
                    "",
                    "/***/ }),",
                    ""
                ],
                "uri": "js/dist/console.js?v=6.0.0-dev",
                "scriptname": "js/dist/console.js"
            },
            {
                "func": "e",
                "line": "2",
                "column": "27028",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "Deferred/then/l/</t<",
                "line": "2",
                "column": "27330",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "setTimeout handler*Deferred/then/l/<",
                "line": "2",
                "column": "27594",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "c",
                "line": "2",
                "column": "25304",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fireWith",
                "line": "2",
                "column": "26053",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fire",
                "line": "2",
                "column": "26089",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "c",
                "line": "2",
                "column": "25304",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "fireWith",
                "line": "2",
                "column": "26053",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "ready",
                "line": "2",
                "column": "29112",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "P",
                "line": "2",
                "column": "28884",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "EventListener.handleEvent*",
                "line": "2",
                "column": "29264",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "?",
                "line": "2",
                "column": "220",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            },
            {
                "func": "?",
                "line": "2",
                "column": "225",
                "context": [
                    "/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.o//...",
                    "!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof modul//...",
                    ""
                ],
                "uri": "js/vendor/jquery/jquery.min.js?v=6.0.0-dev",
                "scriptname": "js/vendor/jquery/jquery.min.js"
            }
        ],
        "uri": "index.php?"
    }
}

Hi, any steps to reproduce it? I tried it locally but unfortunately wasn't able to replicate

@liviuconcioiu
Copy link
Contributor Author

Hi, any steps to reproduce it? I tried it locally but unfortunately wasn't able to replicate

I can't replicate it either. Is related to #19068.

@MauricioFauth
Copy link
Member

This is related to the Demo server using an outdated routes cache file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/6.0 This issue or pull-request affects 6.0.x releases (and maybe further versions) Bug A problem or regression with an existing feature confirmed/6.0 This issue is confirmed to be reproduced on 6.0 at the time this label was set
Projects
None yet
Development

No branches or pull requests

4 participants