Menu

Lightbox ERROR 8: Undefined variable: ged_id

Help
2010-03-25
2013-05-30
  • Paul McGrath

    Paul McGrath - 2010-03-25

    Hi,
      can you please advise what my error is here, am I missing the plugin?  This happens when I click on the 'Album' tab for a member of the tree in GED.

    ERROR 2: Missing argument 2 for find_gedcom_record(), called in D:\wamp\www\paulmcgrath\ged\modules\lightbox\functions\lightbox_print_media.php on line 61 and defined
    0 Error occurred on line 1000 of file functions_db.php in function find_gedcom_record
    1 called from line 61 of file lightbox_print_media.php in function lightbox_print_media
    2 called from line 130 of file album.php in function require_once
    3 called from line 2118 of file individual_ctrl.php in function print_lightbox_tab
    4 called from line 1316 of file individual_ctrl.php in function getTab
    5 called from line 259 of file individual_ctrl.php in function init
    6 called from line 36 of file individual.php
    Warning: Missing argument 2 for find_gedcom_record(), called in D:\wamp\www\paulmcgrath\ged\modules\lightbox\functions\lightbox_print_media.php on line 61 and defined in D:\wamp\www\paulmcgrath\ged\includes\functions\functions_db.php on line 1000
    ERROR 8: Undefined variable: ged_id
    0 Error occurred on line 1022 of file functions_db.php in function find_gedcom_record
    1 called from line 61 of file lightbox_print_media.php in function lightbox_print_media
    2 called from line 130 of file album.php in function require_once
    3 called from line 2118 of file individual_ctrl.php in function print_lightbox_tab
    4 called from line 1316 of file individual_ctrl.php in function getTab
    5 called from line 259 of file individual_ctrl.php in function init
    6 called from line 36 of file individual.php
    

    The Error 8 bit repeats a few times then it starts again for about 6 more times down the page.

    Media works fine and I have also installed the Gallery2 plugin which also works.  Just lightbox not working for each family member.

    Thanks
    Paul

     
  • Greg Roach

    Greg Roach - 2010-03-25

    You don't say what version of PGV you are using, but this is a known bug that was fixed end of last year.  I *think* it would have been included in the 4.2.3 release

     
  • Paul McGrath

    Paul McGrath - 2010-03-25

    Thank you I do have 4.2.3 but I didn't update the modules at the time (must have forgotten).  I've copied over the updated module files and it works now.

    thank you again
    Regards
    Paul

     

Log in to post a comment.