Skip to content

Product::setTags() error #225

Description

@cmalven

Description

Our Shopify integration had been running successfully for several months, but recently we started getting the following error whenever we try to visit /admin/shopify/products or view any entry in the CP that includes a Shopify product relation on a field:

craft\shopify\elements\Product::setTags(): Argument #1 ($tags) must be of type array|string, null given, called in /srv/users/serverpilot/apps/addison-paul/vendor/yiisoft/yii2/base/Component.php on line 185

Any attempt to run php shopify/sync results in a permanently hung task in /admin/utilities/shopify-sync with a status of QUEUED.

Nothing appears in /storage/logs

All web hooks are created and our Shopify app dashboard doesn't report any errors.

Additional info

  • Craft version: 5.9.16
  • PHP version: 8.5.9
  • Database driver & version: MySQL 8.0.46
  • Plugins & versions:
    "craftcms/ckeditor": "^5.5.0",
    "craftcms/shopify": "^7.1.3",
    "nystudio107/craft-autocomplete": "^1.10",
    "nystudio107/craft-seomatic": "^5.1.21",
    "spacecatninja/imager-x": "^6.0.0",
    "spacecatninja/imager-x-imageboss-transformer": "^3.0.1",
    "spatie/craft-ray": "2.1.4",
    "verbb/expanded-singles": "3.0.3",
    "verbb/formie": "3.1.16",
    "verbb/hyper": "^2.3.9",
    "verbb/navigation": "3.0.17",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions