Search Forums
Forums
Kiwitrees on Twitter
    Tags

    descendant, Favourites, privacy, webtrees, redirect, Administration, clipboard, dates, Relationship, contacts, charts, kiwitrees 2.0.2, ID notes, release, media_links, request, php 7, performance, webtrees 1.4.4.1, birth, Default record, custom modules, pages, watermark, upgrade, missing data, users, name, transifex, living, repo, notes, installation, tags, lists individuals families, Favourites 3.0.0, re-order, edit interface, slideshow, add missing death, inactive, php 5.6, white screen, 3.3.1, dead, internal messaging, spam, address, cousins, Canada, person, logs, statistics, googlemap. modified, fixing errors, styles, order, custom text, gettext, add

    Topic:   calendar.php  

    This topic contains 8 replies, has 3 voices, and was last updated by  jacoline 2 years, 3 months ago.

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

      121 posts

      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

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

      #5152
      kiwi
      kiwi
      Keymaster

      1545 posts

      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
      kiwi
      kiwi
      Keymaster

      1545 posts

      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
      pab
      pab
      Participant

      121 posts

      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

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

      #5155
      kiwi
      kiwi
      Keymaster

      1545 posts

      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
      Attachments:
      #5157
      pab
      pab
      Participant

      121 posts

      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

      Apache 2.4.25; MariaDB 10.1.22; PHP 7.0.18

      http://bootesgowland.info

      #5158

      jacoline
      Participant

      432 posts

      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:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

      #5159
      kiwi
      kiwi
      Keymaster

      1545 posts

      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

      jacoline
      Participant

      432 posts

      I know. But it was after that I noticed the problem ๐Ÿ™‚

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.familien-johnsen.dk(submenu) and danish support at www.host-siden.dk/sandbox and facebook

    Viewing 9 posts - 1 through 9 (of 9 total)

    You must be logged in to reply to this topic.