Start a conversation

Fixing the PHP Error 'Undefined Index: Departmentid...' That Appears After Editing a Parser Rule

Overview

After editing a parser rule from the admin control panel, you might get the following error:

Router: https://support.domain.com/admin/index.php?/Parser/Rule/Edit/15
Undefined index: departmentid (./__apps/parser/admin/class.View_Rule.php:285)

A damaged or corrupted parser rule could be a probable cause of this issue. Deleting the current rule and creating a new one, then rebuilding the helpdesk cache will help solve this issue

 

Solution

NOTES:

  • Before deleting an existing rule, you may want to take note of the criteria so you can easily replicate it. Take a screenshot of the rule for your reference!
  • You need admin access with "insert and delete email parser rules" permission to perform the following steps.

Follow these steps to delete and recreate a rule, then rebuild the cache:

  1. Log in to the admin control panel.
  2. From the Home tab, click Email Parser, then click Rules.
    disable_create_new_rule.jpg
  3. Select the rule you want to delete, then click Delete.
  4. Click Ok on the prompt to confirm the action.
  5. Click +New to create a new rule.
  6. Enter the necessary information for the rule you desire to create. For help on creating rules, visit this KB article.
  7. Once the rule has been created, follow the steps in Rebuilding the Cache of your instance.

 

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments