# Strange behaviour: deprecated explode() passing null to parameter #2

**URL:** https://kanboard.discourse.group/t/strange-behaviour-deprecated-explode-passing-null-to-parameter-2/3026
**Category:** Questions
**Created:** [January 12, 2024, 1:43pm UTC](https://kanboard.discourse.group/t/strange-behaviour-deprecated-explode-passing-null-to-parameter-2/3026 "2024-01-12T13:43:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ianme](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/ianme/32/710_2.png) [@ianme](https://kanboard.discourse.group/u/ianme)
#### Post date: [January 12, 2024, 1:43pm UTC](https://kanboard.discourse.group/t/strange-behaviour-deprecated-explode-passing-null-to-parameter-2/3026/1 "2024-01-12T13:43:38Z")

</div>

I have a very strange behaviour concerning _only one_ of the several projects on my self-hosted KB. The problem appeared before the latest version and the upgrade did not solve it.

When I create a task in the Backlog column (the first one), I get a PHP error concerning UserHelper.php

![kb_task_deprecated](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/a/a9ff5c7882899859c86214d3a440068fe1725f4c.png)

The only way to get rid of this is to:

- move the task in another column
- edit the task and save it (without making any changes)

![kb_task_ok](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/4/4ec4125b07bc24a915eedd2d4da5cd921862ba9a.png)

This happens only on a specific project and only upon creation in the Backlog column, on any swimlane.

This project doesn’t seem to have something special, other projects on the same server have multiple users, swimlanes etc.

I’ve been using KB since several years on many installations, I’ve never had this problem before!

Any ideas?

My configuration:

Application version: 1.2.34  
PHP version: 8.1.26  
PHP SAPI: litespeed  
HTTP Client: cURL  
OS version: Linux 4.18.0-513.9.1.lve.el8.x86\_64  
Database driver: mysql  
Database version: 8.0.33-cll-lve

Plugins installed:

EnableAttachmentRenaming 1.1.2  
Customizer 1.14.2  
Comment Tooltip 0.0.2  
Task2pdf 1.8.0  
DueDate 1.2.1  
AutomaticActionUX 2.6.0  
Auto Subtask Creation 2.1.0  
Auto Email Extended Actions 1.2.5  
metaMagik 1.5.5  
TagManager 1.6.0  
ColorManager 3.7.0

---

<div class="post-metadata">

### Author: ![ianme](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/ianme/32/710_2.png) [@ianme](https://kanboard.discourse.group/u/ianme)
#### Post date: [March 7, 2024, 12:39pm UTC](https://kanboard.discourse.group/t/strange-behaviour-deprecated-explode-passing-null-to-parameter-2/3026/2 "2024-03-07T12:39:45Z")

</div>

Just in case this interested anyone, an update of the situation:  
in addition to the edit/save that makes the error message to disappear, this also happens automatically when the task is moved to the last column (and only to the last column).

Almost two months after i posted this bug, and several views, there is no answer. So i conclude this is a really… weird bug 🙂

---

<div class="post-metadata">

### Author: ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)
#### Post date: [March 7, 2024, 6:40pm UTC](https://kanboard.discourse.group/t/strange-behaviour-deprecated-explode-passing-null-to-parameter-2/3026/3 "2024-03-07T18:40:42Z")

</div>

> [@ianme](#):
>
> I get a PHP error concerning

It’s not an error, it’s a warning, for developers.  
Usually, these types of warnings are disabled in a productive environment.

> [@ianme](#):
>
> PHP SAPI: litespeed

I’m not certain this is a supported environment.

**Amendment:**  
After inspecting the relevant code, and the use cases that could possibly issue this warning, I can say that I’m completely unable to reproduce this behavior. I assume it’s something in your environment.
