ERROR 2: Missing argument 1 for get_id_from_gedcom(), called in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_print_facts.php on line 500 and defined
0 Error occurred on line 2445 of file functions_db.php in function get_id_from_gedcom
1 called from line 500 of file functions_print_facts.php in function print_submitter_info
2 called from line 322 of file functions_print_facts.php in function print_fact
3 called from line 1406 of file individual_ctrl.php in function print_facts_tab
4 called from line 1295 of file individual_ctrl.php in function getTab
5 called from line 454 of file individual.php
Warning: Missing argument 1 for get_id_from_gedcom(), called in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_print_facts.php on line 500 and defined in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_db.php on line 2445
ERROR 8: Undefined variable: ged_name
0 Error occurred on line 2448 of file functions_db.php in function get_id_from_gedcom
1 called from line 500 of file functions_print_facts.php in function print_submitter_info
2 called from line 322 of file functions_print_facts.php in function print_fact
3 called from line 1406 of file individual_ctrl.php in function print_facts_tab
4 called from line 1295 of file individual_ctrl.php in function getTab
5 called from line 454 of file individual.php
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using PhpGedView hosted by Dreamhost, with their one-click install. I recently upgraded to 4.2.3, and getting a few error messages. Here's one, in the Descendants Interest field of the page http://www.orrison.com/genealogy/individual.php?pid=I23&ged=COMPLETE.GED:
ERROR 2: Missing argument 1 for get_id_from_gedcom(), called in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_print_facts.php on line 500 and defined
0 Error occurred on line 2445 of file functions_db.php in function get_id_from_gedcom
1 called from line 500 of file functions_print_facts.php in function print_submitter_info
2 called from line 322 of file functions_print_facts.php in function print_fact
3 called from line 1406 of file individual_ctrl.php in function print_facts_tab
4 called from line 1295 of file individual_ctrl.php in function getTab
5 called from line 454 of file individual.php
Warning: Missing argument 1 for get_id_from_gedcom(), called in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_print_facts.php on line 500 and defined in /home/.elizar/orrison/orrison.com/genealogy/includes/functions/functions_db.php on line 2445
ERROR 8: Undefined variable: ged_name
0 Error occurred on line 2448 of file functions_db.php in function get_id_from_gedcom
1 called from line 500 of file functions_print_facts.php in function print_submitter_info
2 called from line 322 of file functions_print_facts.php in function print_fact
3 called from line 1406 of file individual_ctrl.php in function print_facts_tab
4 called from line 1295 of file individual_ctrl.php in function getTab
5 called from line 454 of file individual.php
Sorry… I meant to ask if there's anything obviously wrong with my installation that would cause this, or should I reinstall and reload my GEDCOM?
Answered by Greg Roach in email. In includes/functions/functions_print_facts.php, in the function print_submitter_info, the second line should be
. Thanks!
I checked Greg's fix into SVN.
Thanks Greg.