RSS Feed/News Improve handling of mis-named import runner step

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,209
Points
823

Reputation:

Just sunk a chunk of time debugging an issue with an importer where the key from the getSteps array was comments but the associated method was called stepPosts instead of stepComments, and it threw this error on the CLI:

Code:

Argument 3 passed to XF\Cli\Command\Import::XF\Cli\Command\{closure}() must be an instance of XF\Import\StepState, null given, called in /home/staging/public_html/community/src/XF/Import/Runner.php on line 171

Looking at...

Read more

Continue reading...
 
Status
Not open for further replies.
Top