Improve handling of mis-named import runner step

Status
This content is read-only, or is not open for further replies.

mattrogowski

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom