Jump to content
TNG Community
bresner

Warnings after upgrading from 12.3. to 13.0.3

Recommended Posts

bresner

Hi all together,

some minutes ago I upgraded my TNG from 12.3 to v 13.0.3, all the process went through well but I recognized that I get several warnings. I have my TNG-site integrated as an iFrame on my Wordpress-Site, there I get on the index.php following warning:
Warning: Undefined variable $allow_admin in /home/.sites/231/site9913731/web/ahnenforschung/templates/template13/index.php on line 212

Furthermore when I search for a name that appears several times in my tree, I always get a warning in the column Familytree / Branch:
Warning: Undefined array key "Curman_Z0002" in /home/.sites/231/site9913731/web/ahnenforschung/search.php on line 571 Curman/Csurman/Csurmann
Sample: https://ahnenforschung.curman.at/search.php?myfirstname=rud&mylastname=cur&mypersonid=&idqualify=equals

Now when I open a page I get at the getperson.php this warning:
Warning: Undefined array key "sortbydate" in /home/.sites/231/site9913731/web/ahnenforschung/getperson.php on line 223 Warning: Undefined array key "sortbydate" in /home/.sites/231/site9913731/web/ahnenforschung/getperson.php on line 378 Warning: Undefined array key "sortbydate" in /home/.sites/231/site9913731/web/ahnenforschung/getperson.php on line 496 Warning: Undefined array key "sortbydate" in /home/.sites/231/site9913731/web/ahnenforschung/getperson.php on line 496
Sample: https://ahnenforschung.curman.at/getperson.php?personID=I89596998&tree=Curman

When I enter the relateform.php I get the warning at the top of the page:
Warning: Undefined array key "relatepersonID" in /home/.sites/231/site9913731/web/ahnenforschung/relateform.php on line 7 Warning: Undefined array key "relatetreeID" in /home/.sites/231/site9913731/web/ahnenforschung/relateform.php on line 8
Sample: https://ahnenforschung.curman.at/relateform.php?primaryID=I89596998&tree=Curman

And at the Person 2: heading it says:
Warning: Undefined variable $namestr2 in /home/.sites/231/site9913731/web/ahnenforschung/relateform.php on line 100
same link as above

These ware all the warnings I have recognized so far, does anybody know how I can fix that issue?

Thank you in advance! If required I can also post screenshots of the warnings. The address of my homepage is https://curman.at/db (solution with iframe) or https://ahnenforschung.curman.at (direct TNG). To login use tngcommunity as username and genealogy1234 as password

Greetings form Austria,
bresner

 

Share this post


Link to post
Share on other sites
Brett

Bresner

What version of PHP is running on your site?

Share this post


Link to post
Share on other sites
bresner

I used 8.0, switched it to 7.4 seems like the warnings are gone.

Share this post


Link to post
Share on other sites
bhemph

I found fixes for these warnings and have notified Darrin.  Some other templates also had the same warning, but on different lines.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×