Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Daddy Posted July 9, 2022 Posted July 9, 2022 (edited) Was asked to pass this along. Having issues with files giving this error when you attempt to update it. Error: TypeError: array_merge(): Argument #1 must be of type array, IPS\File\FileSystem given (0) #0 /home/xxxx/public_html/applications/downloads/modules/front/downloads/view.php(1029): array_merge(Object(IPS\File\FileSystem), Array) #1 /home/xxxx/public_html/system/Dispatcher/Controller.php(107): IPS\downloads\modules\front\downloads\_view->newVersion() #2 /home/xxxx/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #3 /home/xxxx/public_html/applications/downloads/modules/front/downloads/view.php(62): IPS\Content\_Controller->execute() #4 /home/xxxx/public_html/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\front\downloads\_view->execute() #5 /home/xxxx/public_html/index.php(13): IPS\_Dispatcher->run() #6 {main} Code: /* Filters */ $imageUploads = isset( $values['files'] ) ? $values['files'] : []; if ( isset( $values['screenshots'] ) ) { $imageUploads = array_merge( $imageUploads, $values['screenshots'] ); This code is from: applications\downloads\modules\front\downloads\view.php Edited July 9, 2022 by Daddy
Jim M Posted July 9, 2022 Posted July 9, 2022 Is this happening on all your Downloads' files or just one specifically? If the latter, could you please provide us the URL?
Daddy Posted July 9, 2022 Author Posted July 9, 2022 The error occurs on all files. They cant be updated. Plug-ins and apps disabled same result
Jim M Posted July 9, 2022 Posted July 9, 2022 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
Daddy Posted July 9, 2022 Author Posted July 9, 2022 2 hours ago, Jim M said: We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you. Done
Daddy Posted July 10, 2022 Author Posted July 10, 2022 (edited) Went ahead and uninstalled everything, plugins, apps, themes, etc, same error. Also tried php 7.4, 8.0 and 8.1 to no avail. Edited July 10, 2022 by Daddy
Daddy Posted July 10, 2022 Author Posted July 10, 2022 @Jim M Seems like this is a bug with "Allow Multiple Files" for downloads. When enabling this feature the error goes away. Please confirm 🙂 DawPi 1
Marc Posted July 11, 2022 Posted July 11, 2022 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. SeNioR- and Daddy 2
Marc Posted July 19, 2022 Posted July 19, 2022 There is a patch that has gone out for this, so if you check for patches in the support area of your admin CP, you should be able to resolve this
Recommended Posts