There are Fatal errors when applying "Random Header Images" profile in 20.x (using with php 7.2, in case it matters). However, in 19.x on the same machine it worked as usual with no errors.
Error message in apache:
[Sat Aug 17 17:46:56.382532 2019] [php7:notice] [pid 19032] [client ::1:44448] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Services_Tracker_Utilities::cloneItem(), 2 passed in /opt/html/20.x/lib/core/Services/Tracker/Controller.php on line 1479 and exactly 3 expected in /opt/html/20.x/lib/core/Services/Tracker/Utilities.php:585\nStack trace:\n#0 /opt/html/20.x/lib/core/Services/Tracker/Controller.php(1479): Services_Tracker_Utilities->cloneItem(Object(Tracker_Definition), Array)\n#1 /opt/html/20.x/lib/core/Services/Broker.php(108): Services_Tracker_Controller->action_link_items(Object(JitFilter))\n#2 /opt/html/20.x/lib/core/Services/Broker.php(28): Services_Broker->attemptProcess('tracker', 'link_items', Object(JitFilter))\n#3 /opt/html/20.x/tiki-ajax_services.php(51): Services_Broker->process('tracker', 'link_items', Object(JitFilter))\n#4 {main}\n thrown in /opt/html/20.x/lib/core/Services/Tracker/Utilities.php on line 585, referer: http://localhost/20.x/tiki-index.php?page=HomePage [Sat Aug 17 17:47:08.779477 2019] [php7:notice] [pid 18804] [client ::1:44460] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function Services_Tracker_Utilities::cloneItem(), 2 passed in /opt/html/20.x/lib/core/Services/Tracker/Controller.php on line 1479 and exactly 3 expected in /opt/html/20.x/lib/core/Services/Tracker/Utilities.php:585\nStack trace:\n#0 /opt/html/20.x/lib/core/Services/Tracker/Controller.php(1479): Services_Tracker_Utilities->cloneItem(Object(Tracker_Definition), Array)\n#1 /opt/html/20.x/lib/core/Services/Broker.php(108): Services_Tracker_Controller->action_link_items(Object(JitFilter))\n#2 /opt/html/20.x/lib/core/Services/Broker.php(28): Services_Broker->attemptProcess('tracker', 'link_items', Object(JitFilter))\n#3 /opt/html/20.x/tiki-ajax_services.php(51): Services_Broker->process('tracker', 'link_items', Object(JitFilter))\n#4 {main}\n thrown in /opt/html/20.x/lib/core/Services/Tracker/Utilities.php on line 585, referer: http://localhost/20.x/tiki-index.php?page=HomePage [Sat Aug 17 17:52:25.749435 2019] [php7:notice] [pid 18795] [client ::1:45656] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /opt/html/20.x/lib/metadata/datatypes/exif.php:776\nStack trace:\n#0 /opt/html/20.x/lib/metadata/filetypes/jpeg.php(53): Exif->processRawData(Array)\n#1 /opt/html/20.x/lib/metadata/metadatalib.php(125): Jpeg->getExtendedData(Object(FileMetadata))\n#2 /opt/html/20.x/lib/filegals/filegallib.php(3857): FileMetadata->getMetadata('/tmp/wiki_MARur...', true, true)\n#3 /opt/html/20.x/lib/core/Tiki/FileGallery/Manipulator/MetadataExtractor.php(21): FileGalLib->extractMetadataJson('/tmp/wiki_MARur...')\n#4 /opt/html/20.x/lib/core/Tiki/FileGallery/File.php(215): Tiki\\FileGallery\\Manipulator\\MetadataExtractor->run(Array)\n#5 /opt/html/20.x/lib/filegals/filegallib.php(3321): Tiki\\FileGallery\\File->replace('\\xFF\\xD8\\xFF\\xE0\\x00\\x10JFIF\\x00\\x01\\x01\\x01\\x00...', 'image/jpeg', '2010_Barcelona_...', '2010_Barcelona_...', NULL, NULL)\n#6 /opt/html/20.x/lib/core/Tiki/Profile/InstallHandler/FileGallery.php(191): FileGalLib->upload_single_file(Array, '2010_Barcelona_...', 79046, 'im in /opt/html/20.x/lib/metadata/datatypes/exif.php on line 776, referer: http://localhost/20.x/tiki-admin.php?profile=Random_header_images_14&categories%5B%5D=20.x&repository=http%3A%2F%2Fprofiles.tiki.org%2Fprofiles&page=profiles&redirect=0&list=Find
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |