Page 1 of 1

v. 6.7.3 error

Posted: Tue 20 Feb 2024, 20:40
by alexandru
According to error log of the server, I got this huge error on version 6.7.3. It never happened before... I don't why it is that...

Code: Select all

[error] 1615#1615: *315 FastCGI sent in stderr: "; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in 
../admin/views/editor.php on line 158; PHP message: PHP Warning:  Undefined property: stdClass::$pers_new_user in 
../admin/views/editor.php on line 157; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in 
../admin/views/editor.php on line 158; PHP message: PHP Warning:  Undefined property: stdClass::$pers_new_user in 
../admin/views/editor.php on line 157; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in 
../admin/views/editor.php on line 158; PHP message: PHP Warning:  Undefined property: stdClass::$pers_new_user in 
../admin/views/editor.php on line 157; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in 
../admin/views/editor.php on line 158; PHP message: PHP Warning:  Undefined property: stdClass::$pers_new_user in 
../admin/views/editor.php on line 157; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in 
../admin/views/editor.php on line 158; PHP message: PHP Warning:  Undefined property: stdClass::$pers_new_user in 
../admin/views/editor.php on line 157; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in 
../admin/views/editor.php on line 158; PHP message: PHP Warning:  Undefined property: stdClass::$pers_new_use" while reading upstream, client: 192.168.0.xxx, server: localhost, request: "GET ../admin/index.php?page=editor&menu_tab=person&tree_id=1&person=I422 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "192.168.0.xxx", referrer: "http://192.168.0.xxx/.../admin/index.php?page=editor"

Code: Select all

[error] 1615#1615: *315 FastCGI sent in stderr: "r in ../admin/views/editor.php on line 157; PHP message: PHP Warning:  Undefined property: stdClass::$pers_changed_user in ../admin/views/editor.php on line 158" while reading upstream, client: 192.168.0.xxx, server: localhost, request: "GET /.../admin/index.php?page=editor&menu_tab=person&tree_id=1&person=I422 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "192.168.0.xxx", referrer: "http://192.168.0.xxx/.../admin/index.php?page=editor"

Re: v. 6.7.3 error

Posted: Tue 20 Feb 2024, 20:48
by Huub
It seems not all files were updated.
Did you update the admin/model files?

UPDATE: could be a bug. I'm checking the code.

Re: v. 6.7.3 error

Posted: Tue 20 Feb 2024, 20:53
by alexandru
OK, I will look into that. I deleted all files (except languages, media and image folders) and copied the new files on the server. No problem, I will try once again to update to new version... I'll see...

Re: v. 6.7.3 error

Posted: Tue 20 Feb 2024, 21:02
by Huub
My fault, another bug. Allready solved:

replace admin/views/editor.php with:
editor.php
(99.81 KiB) Downloaded 30 times

Re: v. 6.7.3 error

Posted: Tue 20 Feb 2024, 21:08
by alexandru
Thank you very much, it seems I was correct...
I am glad I can help you in development. Great software...
I let you know about the errors and problems.

Regards,

Re: v. 6.7.3 error

Posted: Tue 20 Feb 2024, 21:49
by alexandru
Yes, this huge error is solved, BUT here is another one regarding editor in admin page. I think is linked with that huge error...

Code: Select all

[error] 1616#1616: *477 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined variable $data_listDb in 
 ../admin/views/editor_person.php on line 320; PHP message: PHP Warning:  Attempt to read property "event_gedcom" on null in 
 ../admin/views/editor_person.php on line 320; PHP message: PHP Warning:  Undefined variable $data_listDb in 
 ../admin/views/editor_person.php on line 327; PHP message: PHP Warning:  Attempt to read property "event_gedcom" on null in 
 ./admin/views/editor_person.php on line 327" while reading upstream, client: 192.168.0.xxx, server: localhost, request: "POST 
 ../admin/index.php?menu_tab=person HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.2-fpm.sock:", host: "192.168.0.xxx", referrer: "http://192.168.0.xxx/humogen/admin/index.php?page=editor"
Everything is looking great on my screen, but not on my error log for NGinx.
So, take it easy - step by step...