Search Forums
Forums
Kiwitrees on Twitter
    Tags

    message contactform, ID notes, BAPM, .po, translation, prefix, research tasks, margin, users, census assistant, chart, administration pages, emmigration, custom, living, php 7, favourite, 500, feedback, calendar, family facts, stories, media_links, googlemaps, block, link, statistics, advanced, css, release, Favourites 3.0.0, edit interface, nickname, reports, colors, Google Maps, responsive menus, media, blocks, googlemap, CREM, edit options, colors theme, 3.0.0 widgets, custom text, backup, fatal error, ASSO, tabs, contacts, place, button, inactive, kiwitrees 2.0.2, charts, Export/Import, kiwitrees theme, ckeditor, mysql5.7, delete

    Topic:   calendar.php  

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

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

      109 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

      1449 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

      1449 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

      109 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

      1449 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

      109 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

      411 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.host-siden.dk/history, www.familien-johnsen.dk and danish support at www.host-siden.dk/sandbox

      #5159
      kiwi
      kiwi
      Keymaster

      1449 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

      411 posts

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

      Regards,
      Jamie Jaconelli

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

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

    You must be logged in to reply to this topic.