-
Notifications
You must be signed in to change notification settings - Fork 880
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] mb_strwidth(): Passing null to parameter #1 ($string) of type string is deprecated #4492
Comments
…pe string is deprecated Laravel-Backpack#4492
Hello @Polfo thanks for the report. I guess you need to update your column html or something because it should not be possible for you to reach that error. Have a look at:
And ofcourse Let me know if I am missing something. Cheers |
That is indeed not an issue for backpack 5, but I am using backpack 4. |
Moving this to #4493 👌 |
Fix `mb_strwidth()` Passing null to parameter 1 is deprecated #4492
Bug report
What I did
Open a backpack view
What I expected to happen
See the rows.
What happened
What I've already tried to fix it
In
vendor/backpack/crud/src/resources/views/crud/columns/text.blade.php:10
replaceby
solves the issue
Is it a bug in the latest version of Backpack?
yes
Backpack, Laravel, PHP, DB version
PHP VERSION:
PHP 8.1.7 (cli) (built: Jun 25 2022 08:12:59) (NTS)
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.2, Copyright (c) 2002-2021, by Derick Rethans
LARAVEL VERSION:
v8.83.18@db8188e9cc8359a5c6706fa9d9f55aad7f235077
BACKPACK VERSION:
4.1.69@248e2e034cedcffe01732cdce01fb3d1ecad9ffa
The text was updated successfully, but these errors were encountered: