Follow-up Comment #6, sr#110988 (group administration):

Another one:

[Tue Dec 26 20:42:47.401643 2023] [proxy_fcgi:error] [pid 67929:tid
140014675506880] [remote 240b::] AH01071: Got error 'PHP message:
/usr/local/share/savane/frontend/php/include/sane.php:421: [E_WARNING]
foreach() argument must be of type array|object, string given
backtrace:
{

}
request params _SERVER: ['REQUEST_URI' => '/account/login.php',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'POST']
POST: ['uri' => '/',
'form_loginname' => 'drop_database',
'form_pw' => '+K$EEiU39v4SUL=',
'login' => 'Login',
'website' => 'http://']
',

And then a big one spamming error.log, referer: project/admin/useradmin.php,
trimming a part of the message:

[Sat Dec 23 15:46:01.483458 2023] [proxy_fcgi:error] [pid 17677:tid
140014725863104] [remote 240b::] AH01071: Got error '; PHP message:
/usr/local/share/savane/frontend/php/project/admin/userperms.php:621:
[E_WARNING] Trying to access array offset on value of type
null\nbacktrace:\n{\n/usr/local/share/savane/frontend/php/project/admin/userperms.php:721:print_group_posting_defaults('105',
Group Object\n(\n    [error_state] => \n    [error_messag
e] => \n    [data_array] => Array\n        (\n            [0] => 105\n        
   [group_id] => 105\n            [1] => savane testing 1\n           
[group_name] => savane testing 1\n            [2] => 2\n            [type] =>
2\n     
       [3] => 1\n            [is_public] => 1\n            [4] => A\n         
  [status] => A\n            [5] => svtest1\n            [unix_group_name] =>
svtest1\n            [6] => 70001\n            [gidNumber] => 70001\n         

  [7] => testing\n            [short_description] => testing\n            [8]
=> gplv3orlater\n            [license] => gplv3orlater\n            [9] =>
Test
1sssssssssssssssssssFDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDdddddddddddddddddddxs\n  

       ...; PHP message:
/usr/local/share/savane/frontend/php/project/admin/userperms.php:621:
[E_WARNING] Trying to access array offset on value of type
null\nbacktrace:\n{\n/usr/local/share/savane/frontend/php/project/admin/userperms.
php:721:print_group_posting_defaults('105', Group Object\n(\n    [error_state]
=> \n    [error_message] => \n    [data_array] => Array\n        (\n          
 [0] => 105\n            [group_id] => 105\n            [1] => savane testing

1\n            [group_name] => savane testing 1\n            [2] => 2\n       
    [type] => 2\n            [3] => 1\n            [is_public] => 1\n         
  [4] => A\n            [status] => A\n            [5] => svtest1\n          

 [unix_group_name] => svtest1\n            [6] => 70001\n           
[gidNumber] => 70001\n            [7] => testing\n           
[short_description] => testing\n            [8] => gplv3orlater\n           
[license] => gplv3orlater\n 
           [9] => Test
1sssssssssssssssssssFDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDdddddddddddddddddddxs\n   
      ...; PHP message:
/usr/local/share/savane/frontend/php/project/admin/userperms.php:621:
[E_WARNING] Trying to access array offse
t on value of type
null\nbacktrace:\n{\n/usr/local/share/savane/frontend/php/project/admin/userperms.php:721:print_group_posting_defaults('105',
Group Object\n(\n    [error_state] => \n    [error_message] => \n   
[data_array] => Array\
n        (\n            [0] => 105\n            [group_id] => 105\n           
[1] => savane testing 1\n            [group_name] => savane testing 1\n       
    [2] => 2\n            [type] => 2\n            [3] => 1\n           
[is_p
ublic] => 1\n            [4] => A\n            [status] => A\n            [5]
=> svtest1\n            [unix_group_name] => svtest1\n            [6] =>
70001\n            [gidNumber] => 70001\n            [7] => testing\n         
  [sho
rt_description] => testing\n            [8] => gplv3orlater\n           
[license] => gplv3orlater\n            [9] => Test
1sssssssssssssssssssFDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDdddddddddddddddddddxs\n   
      ...;

Can this be avoided? I can see from the database there are lots of fields with
NULL.



    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?110988>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/


Reply via email to