Jump to content

TypeError: array_merge(): Argument #1 must be of type array, IPS\File\FileSystem given (0)


Recommended Posts

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 by Daddy
Link to comment
Share on other sites

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. 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...