Viewing 9 posts - 1 through 9 (of 9 total)
Author
Posts
  • #5151

    I’ve just updated to kt 3.1.1 and find errors in the kt error logs saying

    ERROR 8: Array to string conversion; 0 Error occurred on in function array_unique 1 called from line 358 of file calendar.php

    1000 times in only 1 day!

    Penguins Are  Boss

    https://bootesgowland.kiwitrees.net

    Happy to be hosted by kiwitrees.net

  • #5152

    It’s unlikely that was caused by the upgrade. That code hasn’t been touched since January.

    Were you working on anything else around that time? Something that might have inadvertently caused a change in one or more dates in your data?

    Have you checked for any error in Administration > Family tree tools > Check for GEDCOM errors

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #5153

    OK, I have just been able to reproduce your error. (Sorry I doubted you 🙁 )

    Can’t quite work out the cause just yet. It seems to require a specific set of data. I’ll let you know as soon as I track it down.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #5154

    I was pretty sure it was nothing I did. Been away for 2 weeks and just updated last night. Made a couple of census updates today before looking at admin page then found the errors. There were no such errors before yesterday when I upgraded.

    Paul

    Penguins Are  Boss

    https://bootesgowland.kiwitrees.net

    Happy to be hosted by kiwitrees.net

  • #5155

    The attached file will fix it. Replace calendar.php in kiwtrees root folder.

    The bug has been there since January, amazingly enough. But it is only triggered by certain types of date (i.e. those with “BEF” or similar adjusters from my quick testing) and when they are found on a visit to the calendar page using the “year” option. (Main menu > Calendar > Year).

    Did you view it sometime since upgrading?

    Just goes to show how many parts of kiwitrees never get visited.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #5157

    I have a few BEF, ABT, AFT dates (which I hate!) and did probably hit on a few when I was searching today. Also looking at visitor IP logs other people would have hit on them too.

    Yes, there are parts of kt I have yet to visit ….

    Penguins Are  Boss

    https://bootesgowland.kiwitrees.net

    Happy to be hosted by kiwitrees.net

  • #5158

    I also had that error since v.2.x (where you changed the menu setup)

    I edited all my dates to fix the problem 🙁

    Regards, Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contain 3 family trees)

  • #5159

    I(where you changed the menu setup)

    This issue is not related to menus in any way, so perhaps your issue was different.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #5160

    I know. But it was after that I noticed the problem 🙂

    Regards, Jamie Jaconelli

    admin and owner of a user customized version of kiwitrees (contain 3 family trees)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘calendar.php’ is closed to new replies.