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

[Bug] Backpack V6 - Theme Tabler - Could not find config key: classes.body. Neither in the Backpack theme... #5229

Closed
munjaldevelopment opened this issue Jul 25, 2023 · 4 comments
Labels

Comments

@munjaldevelopment
Copy link
Contributor

munjaldevelopment commented Jul 25, 2023

Bug report

"Could not find config key: classes.body. Neither in the Backpack theme, nor in the fallback theme, nor in ui."

What I did

This error appear on every page

What I expected to happen

No Error in log. Log file increase to MBs

What happened

Continue error showing in Log

What I've already tried to fix it

N/A

Is it a bug in the latest version of Backpack?

Yes.

After I run composer update backpack/crud the bug... is it still there?

Yes

Backpack, Laravel, PHP, DB version

When I run php artisan backpack:version the output is:

PHP VERSION:

PHP 8.1.7 (cli) (built: Jun 7 2022 21:45:53) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.7, Copyright (c) Zend Technologies
with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies
with Xdebug v3.1.6, Copyright (c) 2002-2022, by Derick Rethans

LARAVEL VERSION:

10.15.0.0

BACKPACK PACKAGE VERSIONS:

backpack/backupmanager: v5.0.0
backpack/basset: 1.0.0
backpack/crud: 6.0.6
backpack/editable-columns: 3.0.1
backpack/filemanager: 3.0.2
backpack/generators: v6.x-dev
backpack/logmanager: v5.0.0
backpack/medialibrary-uploaders: 1.0.1
backpack/menucrud: v4.0.1
backpack/newscrud: v5.0.0
backpack/pagemanager: 3.2.0
backpack/permissionmanager: 7.0.0
backpack/pro: 2.0.8
backpack/revise-operation: 2.0.0
backpack/settings: 3.1.0
backpack/theme-coreuiv2: 1.1.3
backpack/theme-coreuiv4: 1.0.4
backpack/theme-tabler: 1.0.5

Attached screenshot

image

@pxpm
Copy link
Contributor

pxpm commented Jul 25, 2023

Hey @munjaldevelopment thanks for the report 🙏

We are working on the solution described here: Laravel-Backpack/theme-coreuiv4#38 (comment)

We should lunch the new versions with the fixes soon.

I the meanwhile I am going to close this as we have already other issue opened regarding the same subject.

Cheers

@de-raaf-media
Copy link

de-raaf-media commented Aug 29, 2024

I have a similar issue. Just noticed in the logs:

" Could not find config key: options.showPasswordVisibilityToggler. Neither in the Backpack theme ... "

@pxpm should I post this as a new issue? Or do you prefer reopening this one?

Regards,
Mark

@pxpm
Copy link
Contributor

pxpm commented Aug 29, 2024

Hey @de-raaf-media I think that is a different issue. I could not reproduce your error.

showPasswordVisibilityToggler only exists in theme-tabler, and it is in the options for that theme: https://github.com/search?q=org%3ALaravel-Backpack%20showPasswordVisibilityToggler&type=code

Any chance you are using tabler files with other theme ? If that's the case, just create it in the theme config:

'options' => [
    'showPasswordVisibilityToggler' => true
]

We only have that functionality in theme-tabler, so I don't think it makes sense to add it to the config/ui like the other config keys described here that are used by all the themes.

Let me know, 🙏

@de-raaf-media
Copy link

Hey @de-raaf-media I think that is a different issue. I could not reproduce your error.

showPasswordVisibilityToggler only exists in theme-tabler, and it is in the options for that theme: https://github.com/search?q=org%3ALaravel-Backpack%20showPasswordVisibilityToggler&type=code

Any chance you are using tabler files with other theme ? If that's the case, just create it in the theme config:

'options' => [
    'showPasswordVisibilityToggler' => true
]

We only have that functionality in theme-tabler, so I don't think it makes sense to add it to the config/ui like the other config keys described here that are used by all the themes.

Let me know, 🙏

It seems this was not present in my theme-tabler.php config file:
"showPasswordVisibilityToggler" => false,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants