# Web Notification Broken

**URL:** <https://forum.mautic.org/t/web-notification-broken/8401>\
**Category:** Product Support\
**Created:** [May 2, 2017, 10:21pm UTC](https://forum.mautic.org/t/web-notification-broken/8401 "2017-05-02T22:21:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raphiz](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@Raphiz](https://forum.mautic.org/u/Raphiz)\
**Post date:** [May 2, 2017, 10:21pm UTC](https://forum.mautic.org/t/web-notification-broken/8401/1 "2017-05-02T22:21:35Z")

</div>

I updated of the Mautic version for 2.8, before this, all functions worked correctly, but after of actualization the web notifications stopped working.  
  
  
  
I can’t create or using with campaings, same the web notifications that I had created before the actualization, don’t working.  
  
  
  
My before version was 2.7.1.  
  
  
  
Look this:  
  
 ![Screen%20Shot%202017-05-02%20at%2020.02.50.png](http://www.sandersdigital.com.br/email/Screen%20Shot%202017-05-02%20at%2020.02.50.png)  
  
  
  
When I clicked on create, it breaks:  
  
 ![Screen%20Shot%202017-05-02%20at%2020.03.19.png](http://sandersdigital.com.br/email/Screen%20Shot%202017-05-02%20at%2020.03.19.png)  
  
  
  
The log show this:  
  
[2017-05-02 19:37:43] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionNotNullConstraintViolationException: “An exception occurred while executing ‘INSERT INTO mautic\_push\_notifications (is\_published, date\_added, created\_by, created\_by\_user, date\_modified, modified\_by, modified\_by\_user, checked\_out, checked\_out\_by, checked\_out\_by\_user, name, description, lang, url, heading, message, button, notification\_type, publish\_up, publish\_down, read\_count, sent\_count, mobile, mobileSettings, category\_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ with params [1, “2017-05-02 22:37:43”, 1, “Vinicius Figueiru00f4a”, null, null, null, null, null, null, “teste3”, null, “en”, “[http://asdasd](http://asdasd)”, “asda”, “asdsdad”, “asda”, “template”, null, null, 0, 0, null, “N;”, null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null” at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {“exception”:"[object] (Doctrine\DBAL\Exception\NotNullConstraintViolationException(code: 0): An exception occurred while executing ‘INSERT INTO mautic\_push\_notifications (is\_published, date\_added, created\_by, created\_by\_user, date\_modified, modified\_by, modified\_by\_user, checked\_out, checked\_out\_by, checked\_out\_by\_user, name, description, lang, url, heading, message, button, notification\_type, publish\_up, publish\_down, read\_count, sent\_count, mobile, mobileSettings, category\_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ with params [1, “2017-05-02 22:37:43”, 1, “Vinicius Figueir\u00f4a”, null, null, null, null, null, null, “teste3”, null, “en”, “[http://asdasd](http://asdasd)”, “asda”, “asdsdad”, “asda”, “template”, null, null, 0, 0, null, “N;”, null]:nnSQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\DBAL\Driver\PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []  
  
  
  
Why its happens?

---

<div class="post-metadata">

**Author:** ![Raphiz](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@Raphiz](https://forum.mautic.org/u/Raphiz)\
**Post date:** [May 2, 2017, 10:21pm UTC](https://forum.mautic.org/t/web-notification-broken/8401/2 "2017-05-02T22:21:35Z")

</div>

I updated of the Mautic version for 2.8, before this, all functions worked correctly, but after of actualization the web notifications stopped working.

I can’t create or using with campaings, same the web notifications that I had created before the actualization, don’t working.

My before version was 2.7.1.

Look this:  
 ![](http://www.sandersdigital.com.br/email/Screen%20Shot%202017-05-02%20at%2020.02.50.png)

When I clicked on create, it breaks:  
 ![](http://sandersdigital.com.br/email/Screen%20Shot%202017-05-02%20at%2020.03.19.png)

The log show this:  
[2017-05-02 19:37:43] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALExceptionNotNullConstraintViolationException: “An exception occurred while executing ‘INSERT INTO mautic\_push\_notifications (is\_published, date\_added, created\_by, created\_by\_user, date\_modified, modified\_by, modified\_by\_user, checked\_out, checked\_out\_by, checked\_out\_by\_user, name, description, lang, url, heading, message, button, notification\_type, publish\_up, publish\_down, read\_count, sent\_count, mobile, mobileSettings, category\_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ with params [1, “2017-05-02 22:37:43”, 1, “Vinicius Figueiru00f4a”, null, null, null, null, null, null, “teste3”, null, “en”, “[http://asdasd](http://asdasd)”, “asda”, “asdsdad”, “asda”, “template”, null, null, 0, 0, null, “N;”, null]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null” at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 112 {“exception”:"[object] (Doctrine\DBAL\Exception\NotNullConstraintViolationException(code: 0): An exception occurred while executing ‘INSERT INTO mautic\_push\_notifications (is\_published, date\_added, created\_by, created\_by\_user, date\_modified, modified\_by, modified\_by\_user, checked\_out, checked\_out\_by, checked\_out\_by\_user, name, description, lang, url, heading, message, button, notification\_type, publish\_up, publish\_down, read\_count, sent\_count, mobile, mobileSettings, category\_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)’ with params [1, “2017-05-02 22:37:43”, 1, “Vinicius Figueir\u00f4a”, null, null, null, null, null, null, “teste3”, null, “en”, “[http://asdasd](http://asdasd)”, “asda”, “asdsdad”, “asda”, “template”, null, null, 0, 0, null, “N;”, null]:nnSQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:112, Doctrine\DBAL\Driver\PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:93, PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘mobile’ cannot be null at /var/www/sistema.catchleads.com.br/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:91)"} []

Why its happens?

---

<div class="post-metadata">

**Author:** ![Aneta](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Aneta](https://forum.mautic.org/u/Aneta)\
**Post date:** [May 5, 2017, 8:20pm UTC](https://forum.mautic.org/t/web-notification-broken/8401/3 "2017-05-05T20:20:51Z")

</div>

Hi, I want to you to ask - how did you start this option. I have only Focus item - it looks different than your version. Should I start some plugin?

---

<div class="post-metadata">

**Author:** ![Aneta](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Aneta](https://forum.mautic.org/u/Aneta)\
**Post date:** [May 7, 2017, 12:33pm UTC](https://forum.mautic.org/t/web-notification-broken/8401/4 "2017-05-07T12:33:01Z")

</div>

I have the same problem… I added OneSignal.

---

<div class="post-metadata">

**Author:** ![mgala](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mgala](https://forum.mautic.org/u/mgala)\
**Post date:** [May 13, 2017, 5:43pm UTC](https://forum.mautic.org/t/web-notification-broken/8401/5 "2017-05-13T17:43:33Z")

</div>

I have the same problem. Was working correctly, will investigate further.

---

<div class="post-metadata">

**Author:** ![Aneta](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Aneta](https://forum.mautic.org/u/Aneta)\
**Post date:** [June 2, 2017, 9:14am UTC](https://forum.mautic.org/t/web-notification-broken/8401/6 "2017-06-02T09:14:40Z")

</div>

It works, update to 2.8.2
