[SOLVED] Php warning and deprecated : lists/choices

Post Reply
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

[SOLVED] Php warning and deprecated : lists/choices

Post by Didou12 »

Hi,

I had 3 same serrors for 3 list id, but I don't really know for what action, why and when I had this errors :

Code: Select all

2023-05-30 17:31	USER      Warning	
Undefined array key "parent_id"
modules/global_lists/actions/choices.php:20
/index.php?module=global_lists/choices&action=save&lists_id=ID&token=TOKEN[ACTION]
2023-05-30 17:31	USER    Deprecated	
strlen(): Passing null to parameter #1 ($string) of type string is deprecated
modules/global_lists/actions/choices.php:20
/index.php?module=global_lists/choices&action=save&lists_id=ID&token=TOKEN [ACTION]
Last edited by Didou12 on 03 Jun 2023, 08:34, edited 1 time in total.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Php warning and deprecated : lists/choices

Post by support »

File from archive replace to modules\global_lists\actions\
Attachments
choices.zip
(2.2 KiB) Downloaded 23 times
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Php warning and deprecated : lists/choices

Post by Didou12 »

Thanks :)
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Post Reply