Menu

Fatal Error

Help
mjm
2010-04-05
2013-05-30
  • mjm

    mjm - 2010-04-05

    A number of records produce the following error:
    Fatal error: Cannot use object of type Event as array in /home/admin/public_html/phpgedview/modules/research_assistant/ra_functions.php on line 1520
    Is there a way I can correct this?
    Thanks.

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-05

    mjm
    What version of PGV? other supporting progs?
    The easiest way is to give up on RA and simply remove the module from your installation.
    -Stephen

     
  • mjm

    mjm - 2010-04-05

    using PhpGedView 4.2.3, and no other supporting progs if I understand your question right. What do you mean by RA?

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-05

    /home/admin/public_html/phpgedview/modules/research_assistant/ra_functions.php on line 1520

    RA = Research Assistant, the code that provided the error.

     
  • mjm

    mjm - 2010-04-05

    So, how do I get rid of this error. What is wrong with event/array?

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-05

    Asked and answered. Remove the RA module as its unlikely it will be updated.
    -Stephen

     
  • mjm

    mjm - 2010-04-05

    What do you mean by removing the RA module? Simple delete it from the server?

     
  • Gerry Kroll

    Gerry Kroll - 2010-04-05

    You can remove any module by simply deleting the subdirectory within the "modules" directory.  You can also rename the subdirectory if you're not absolutely sure that you want to remove it entirely - that way, you can just restore the original name to get it back.

    If you don't want to use any of the modules, you can delete the entire "modules" directory.

    The only modules on my site have to do with supporting media.  They are:  GEDFact_assistant, JWplayer, lightbox, and slideshow.  PGV will run without these modules, but it's much nicer with them.

    GEDFact_assistant makes the establishing of links between media objects and persons, etc. much easier.  I'm not so sure that slideshow is actually all that useful.

     
  • mjm

    mjm - 2010-04-05

    I just attempted to run Ahnentafel Report and got the following bunch of errors - had no problems in the past

    ERROR 8: Undefined index: I267
    0 Error occurred on line 2838 of file functions.php in function add_ancestors
    1 called from line 2435 of file reportpdf.php in function PGVRRelativesSHandler
    2 called from in function call_user_func
    3 called from line 1125 of file reportpdf.php in function startElement
    4 called from in function xml_parse
    5 called from line 280 of file reportengine.php

     
  • Stephen Arnold

    Stephen Arnold - 2010-04-05

    mjm
    Don't reuse a thread for a new problem. It is inappropriate use of the forum. If you have a new problem, start a new thread with a well-defined subject. The purpose of the help forum is to resolve your issues while establishing a base of knowledge for others to use to resolve similar issues.
    Error appears to be in your INDI I267. Have you reviewed the raw code to see if anything appears to be corrupted or incorrectly recorded? If this person is dead, please post the code here.
    -Stephen

     

Log in to post a comment.