duncanmcclean/duplicator

"Trying to access array offset on value of type null" when duplicating child items in collection

Closed this issue · 3 comments

Description

When clicking "Run action" when attempting to duplicate an item that is a child, the message "Trying to access array offset on value of type null" is displayed and the item is not duplicated.
On the same installation, items that are not "children" duplicate fine.

Steps to reproduce

Attempt to duplicate an item in a collection which is a child

Environment

Statamic 3.2.15 Pro
Laravel 8.55.0
PHP 7.4.3
doublethreedigital/duplicator 2.0.0

Are you running a standard install or are you using multi-site?

Standard install

Fixed in latest release.