cakephp / debug_kit

Debug Toolbar for CakePHP applications.

Home Page:http://cakephp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CakePHP 4.4.18 - DebugKit 4.9.5 - The view for PanelsController::index() was not found.

Manuel1948 opened this issue · comments

Screenshot:

image

Steps to reproduce:

Have some cakePHP project opened with debug kit enabled.
Then navigate through your page, so that you have history entries in debug kit.
Open the history, click the 'Reload' - button and then select any of the history entries.
Voila the error in the screenshot appearing.

Stack-Trace Screenshots (maybe it is dependent to some othe package or plugin?
image
image

So if you need more details or so one, don't hesitate to reply.

composer.json:

{
    "name": "cakephp/app",
    "description": "CakePHP skeleton app",
    "homepage": "http://cakephp.org",
    "type": "project",
    "license": "MIT",
    "require": {
        "php": ">=7.4",
        "cakephp/cakephp": "4.4.*",
        "mobiledetect/mobiledetectlib": "2.*",
        "cakephp/migrations": "*",
        "cakephp/plugin-installer": "*",
        "cakephp/authentication": "*",
        "cakephp/authorization": "*",
        "cakephp/acl": "*",
        "muffin/footprint": "*",
        "queencitycodefactory/ldap": "dev-master",
        "phpoffice/phpspreadsheet": "1.*"
    },
    "require-dev": {
        "psy/psysh": "@stable",
        "cakephp/debug_kit": "4.*",
        "cakephp/bake": "*"
    },
    "autoload": {
        "psr-4": {
            "App\\": "src",
            "FilterExport\\": "./plugins/FilterExport/src"
        }
    },
    "minimum-stability": "beta",
    "prefer-stable": true,
    "config": {
        "allow-plugins": {
            "cakephp/plugin-installer": true
        }
    }
}

All running on PHP 8.2

The variables panel has the same underlying problem, a loadPanel() call with the wrong panel type value, containing a panel prefix.

@Manuel1948 can you please test the changes proposed in the linked PR? Its just 2 JS files you can directly adjust in your vendor/cakephp/debug_kit folder (or you adjust your composer.json to the branch I created)

@Manuel1948 can you please test the changes proposed in the linked PR? Its just 2 JS files you can directly adjust in your vendor/cakephp/debug_kit folder (or you adjust your composer.json to the branch I created)

Thank you for the quick fix, problem is now solved.

I am no extensive github user, could you tell me how I know, when this fix is public so that composer update is getting the new version?

Fixed.