Problem/Motivation

When someone installs a module then in hook_install we are calling the function to create product types. But it needs an access token to be configured. So it throws an error.

Steps to reproduce

Install Module and check recent log messages curl error will be there.

Proposed resolution

Create a custom command that will call the _create_product_types function.

CommentFileSizeAuthor
#4 image (13).png12.42 KBvighneshh

Issue fork magento-3405144

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

omkar-pd created an issue. See original summary.

omkar-pd’s picture

Status: Active » Needs review
vighneshh’s picture

Assigned: omkar-pd » Unassigned
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new12.42 KB

Looks good to me
Moving this to RTBC

  • Vighneshh committed fa18a710 on 2.0.x authored by omkar-pd
    Issue #3405144 by omkar-pd, Vighneshh: Create Drush Command to create...
vighneshh’s picture

vighneshh’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.