statamic-rad-pack / wp-import

Statamic WP Import can import simple content from your WP site.
https://statamic.com/addons/rad-pack/wp-import
7 stars 6 forks source link

Call to undefined function RadPack\StatamicWpImport\Helpers\array_get() #14

Closed imakeitworknet closed 3 weeks ago

imakeitworknet commented 3 weeks ago

Description

Just installed the latest version of addon (1.7.0) to Statamic 5.31.0, and got error when trying to import json file:

Call to undefined function RadPack\StatamicWpImport\Helpers\array_get()

Any ideas what could cause that? Thanks!

Steps to reproduce

Import .json file with Posts exported from WordPress using Export to Statamic plugin.

Environment

Environment Application Name: Statamic Laravel Version: 11.21.0 PHP Version: 8.2.24 Composer Version: 2.6.6 Environment: local Debug Mode: ENABLED URL: localhost Maintenance Mode: OFF Timezone: UTC Locale: en

Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED

Drivers Broadcasting: log Cache: file Database: sqlite Logs: stack / single Mail: log Queue: sync Session: file

Statamic Addons: 1 Sites: 1 Stache Watcher: Enabled (auto) Static Caching: Disabled Version: 5.31.0 Solo

Statamic Addons statamic-rad-pack/wp-import: 1.7.0

duncanmcclean commented 3 weeks ago

This should be fixed in v1.7.1.