In previous versions PHP allows set NULL to any string functions.
Now not and that is why need to add extra check.
PHP deprecated
-
- Posts: 133
- Joined: 10 Apr 2023, 23:23
- Name: 耀影
- Location: 深圳
- Company Name: 深圳市耀影科技有限公司
- Contact:
Re: PHP deprecated
Thank you, I understand.
There will be many miscalculations caused by this reason.
Thank you for your hard work!
There will be many miscalculations caused by this reason.
Thank you for your hard work!
-
- Posts: 133
- Joined: 10 Apr 2023, 23:23
- Name: 耀影
- Location: 深圳
- Company Name: 深圳市耀影科技有限公司
- Contact:
Re: PHP deprecated
/modules/users_groups/views
Resolve PHP 8.1 8.2 errors
Resolve PHP 8.1 8.2 errors
Code: Select all
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /www/wwwroot/yaoying3.vip/modules/users_groups/views/pivot_access_table.php on line 35
- Attachments
-
- pivot_access_table.zip
- (1.71 KiB) Downloaded 12 times
-
- Posts: 133
- Joined: 10 Apr 2023, 23:23
- Name: 耀影
- Location: 深圳
- Company Name: 深圳市耀影科技有限公司
- Contact:
Re: PHP deprecated
There are too many such errors. Is there an official comprehensive inspection before the release of version 3.4RC?
Their reasons are all the same. Is there a faster way to test and fix errors one by one?
/plugins/ext/classes/templates
Resolve PHP 8.1 8.2 errors
Their reasons are all the same. Is there a faster way to test and fix errors one by one?
/plugins/ext/classes/templates
Resolve PHP 8.1 8.2 errors
Code: Select all
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /www/wwwroot/yaoying3.vip/plugins/ext/classes/templates/export_templates.php on line 159
- Attachments
-
- export_templates.zip
- (9.04 KiB) Downloaded 14 times