Skip to content

Another 'Using null as an array offset is deprecated' error in module-catalog/Model/CategoryRepository #328

Description

@siliconalchemy

Preconditions and environment

  • Mage-OS Magento version 3.40
  • Anything else that would help a developer reproduce the bug: Create a new subcategory in Admin: Catalog -> Inventory -> Categories causes an exception with 'Using null as an array offset is deprecated, use an empty string instead' in vendor / mage-os / module-catalog / Model / CategoryRepository.php : 153

Steps to reproduce

  1. Login to Admin
  2. Go to Catalog->Inventory->Categories, choose a parent category and then click on 'Add Subcategory'

Expected result

I expect the subcategory to be created

Actual result

No subcategory is created, instead an exception is raised: 'Using null as an array offset is deprecated, use an empty string instead'

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions