Error installing module

Created on 7 February 2022, over 3 years ago
Updated 14 May 2025, 8 days ago

Problem/Motivation

Installing module produces error without enabled commerce_payment:
PDOException: SQLSTATE[HY000]: General error: 1364 Field 'plugin' doesn't have a default value: INSERT INTO {rules_config} (name, status, module) VALUES (:db_insert_placeholder_0, ...)

This error could be fixed with https://www.drupal.org/node/2829437 β†’ #4 patch, but then on the Commerce Taxjax settings page it will produce another error with absent rule 'commerce_taxjar_save_order'

Proposed resolution

Since rule 'commerce_taxjar_save_order' requires commerce_payment we should add it to module's dependencies.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine andriic

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024