PHP deprecated

User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: PHP deprecated

Post by support »

In previous versions PHP allows set NULL to any string functions.
Now not and that is why need to add extra check.
yaoying
Posts: 133
Joined: 10 Apr 2023, 23:23
Name: 耀影
Location: 深圳
Company Name: 深圳市耀影科技有限公司
Contact:

Re: PHP deprecated

Post by yaoying »

Thank you, I understand.

There will be many miscalculations caused by this reason.

Thank you for your hard work!
yaoying
Posts: 133
Joined: 10 Apr 2023, 23:23
Name: 耀影
Location: 深圳
Company Name: 深圳市耀影科技有限公司
Contact:

Re: PHP deprecated

Post by yaoying »

/modules/users_groups/views
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
截图_选择区域_20230529191401.png
yaoying
Posts: 133
Joined: 10 Apr 2023, 23:23
Name: 耀影
Location: 深圳
Company Name: 深圳市耀影科技有限公司
Contact:

Re: PHP deprecated

Post by yaoying »

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

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
Post Reply