Bug #13066

Breaking PHP change causing errors on import

Added by Dan Gillean 5 months ago. Updated 4 months ago.

Status:VerifiedStart date:05/29/2019
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

100%

Category:Import/ExportEstimated time:1.00 hour
Target version:Release 2.5.1
Google Code Legacy ID: Tested version:2.5, 2.6
Sponsored:Yes Requires documentation:No

Description

An Uncaught Error: [] operator not supported for strings... is being raised during bulk import. This is happening at line 205 in importBulkTask.class:

This is due to a breaking change in PHP 7.1:

To resolve the issue, we need to initialize the path as an array instead of a string.

History

#2 Updated by Dan Gillean 5 months ago

This has been fixed in qa/2.6.x in https://github.com/artefactual/atom/commit/87788de92002e0e40bc234d265bcf7875cf4a14e

Needs to be backported to stable/2.5.x

#3 Updated by David Juhasz 4 months ago

  • Status changed from New to QA/Review
  • Assignee deleted (Ross Spencer)
  • Tested version 2.6 added

#4 Updated by Dan Gillean 4 months ago

  • Status changed from QA/Review to Verified
  • Assignee set to Dan Gillean

Also available in: Atom PDF