Skip to content

Cannot save Shopify settings config - error about message source #213

@jairedden

Description

@jairedden

When I try to save the API Connection information in the Shopify Craft plugin (specifically the shopify host name field),
I receive the following error:

Invalid Configuration – yii\base\InvalidConfigException

Unable to locate message source for category 'Shopify'.

in /var/www/html/vendor/yiisoft/yii2/i18n/I18N.php

    if (isset($this->translations['*'])) {
        $source = $this->translations['*'];
        if ($source instanceof MessageSource) {
            return $source;
        }
        return $this->translations[$category] = $this->translations['*'] = Yii::createObject($source);
    }
    throw new InvalidConfigException("Unable to locate message source for category '$category'.");

Steps to reproduce:

  1. Go to shopify plugin settings page
  2. Enter value in the Shopify Host Name field (i.e. $SHOPIFY_HOSTNAME)
  3. Click save

I am using:
Craft CMS 5.10.1
Shopify Plugin 7.1.1
PHP 8.3.29
MySQL 8.0.45

Can anyone help? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions