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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
using PhpGedView 4.2.3, and no other supporting progs if I understand your question right. What do you mean by RA?
RA = Research Assistant, the code that provided the error.
So, how do I get rid of this error. What is wrong with event/array?
Asked and answered. Remove the RA module as its unlikely it will be updated.
-Stephen
What do you mean by removing the RA module? Simple delete it from the server?
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.
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
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