# Issues after upgrading to 1.4

**URL:** https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736
**Category:** Product Support
**Created:** [May 12, 2016, 6:46am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736 "2016-05-12T06:46:10Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Miracle\_maker](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Miracle\_maker](https://forum.mautic.org/u/Miracle_maker)
#### Post date: [May 12, 2016, 6:46am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/1 "2016-05-12T06:46:10Z")

</div>

Hey,  
  
  
  
I am experiencing the following issue after upgrading to 1.4 version from 1.2.3 version.  
  
  
  
 ![issue.png](http://crm.olgan.org/issue.png)  
  
  
  
I did delete the cache. It works on all sections but the Dashboard. It works when you go to contacts, or campaigns, etc.  
  
  
  
Can you help me?

---

<div class="post-metadata">

### Author: ![Miracle\_maker](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Miracle\_maker](https://forum.mautic.org/u/Miracle_maker)
#### Post date: [May 12, 2016, 6:46am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/2 "2016-05-12T06:46:10Z")

</div>

Hey,

I am experiencing the following issue after upgrading to 1.4 version from 1.2.3 version.

![](http://crm.olgan.org/issue.png)

I did delete the cache. It works on all sections but the Dashboard. It works when you go to contacts, or campaigns, etc.

Can you help me?

---

<div class="post-metadata">

### Author: ![Miracle\_maker](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Miracle\_maker](https://forum.mautic.org/u/Miracle_maker)
#### Post date: [May 12, 2016, 7:05am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/3 "2016-05-12T07:05:43Z")

</div>

I just removed "style="height: \<?php echo !empty($widget-\>getHeight()) ? ($widget-\>getHeight() - 10) . 'px' : '300px' ?\>"

from the first line

And it is now working. Is the style important in this case?

Thanks,  
Nayden

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [May 12, 2016, 9:39am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/4 "2016-05-12T09:39:43Z")

</div>

You are one of the 80 people who have downloaded the release which contained some PHP 5.4/5.5 code and you probably have older PHP version. The 1.4 release was then re-released with PHP 5.3 syntax. The problem is actually my fault. The solutions are:

1. Upgrade your PHP version (recommended whether you do the option 2 or not)
2. Change the “Update stability level” to Beta, log out, back in and you should see a new notification about new version. Upgrade your Mautic and change the stability level back to Stable.

---

<div class="post-metadata">

### Author: ![mielnic](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mielnic](https://forum.mautic.org/u/mielnic)
#### Post date: [May 12, 2016, 1:14pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/5 "2016-05-12T13:14:09Z")

</div>

Hi: same issue here. But I can’t get to the configuration screen to change de “Update Stability Level”. Any workaround?

Thanks!

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [May 12, 2016, 1:18pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/6 "2016-05-12T13:18:00Z")

</div>

Why not?

---

<div class="post-metadata">

### Author: ![mielnic](https://avatars.discourse-cdn.com/v4/letter/m/bbe5ce/32.png) [@mielnic](https://forum.mautic.org/u/mielnic)
#### Post date: [May 12, 2016, 1:26pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/7 "2016-05-12T13:26:52Z")

</div>

When i try to access de menu item I get a 500 server error. This is the log entry generated:

[2016-05-12 14:17:08] mautic.ERROR: Fatal: syntax error, unexpected ‘[’ - in file /awweb/aw3marketing/app/bundles/PageBundle/Views/FormTheme/Config/\_config\_pageconfig\_widget.html.php - at line 33 [] []  
[2016-05-12 14:23:53] mautic.ERROR: Fatal: syntax error, unexpected ‘[’ - in file /awweb/aw3marketing/app/bundles/PageBundle/Views/FormTheme/Config/\_config\_pageconfig\_widget.html.php - at line 33 [] []

I´m on PHP 5.3.17 no chances to upgrade soon…

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [May 12, 2016, 1:46pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/8 "2016-05-12T13:46:23Z")

</div>

@mielnic check [https://www.mautic.org/community/index.php/3365-parse-error-with-sms-bundle-problem-installing-1-4-on-server](https://www.mautic.org/community/index.php/3365-parse-error-with-sms-bundle-problem-installing-1-4-on-server)

---

<div class="post-metadata">

### Author: ![Miracle\_maker](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Miracle\_maker](https://forum.mautic.org/u/Miracle_maker)
#### Post date: [May 12, 2016, 7:19pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/9 "2016-05-12T19:19:29Z")

</div>

escopecz Thanks a lot for your support and help. I support using newer PHP so keep going! Thumbs up!

---

<div class="post-metadata">

### Author: ![epinheir](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@epinheir](https://forum.mautic.org/u/epinheir)
#### Post date: [May 12, 2016, 9:02pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/10 "2016-05-12T21:02:48Z")

</div>

Hi I’m trying to do the upgrade to 1.4 from 1.2.3 The “downloading package” works apparently fine and when the procedure moves to next step “Extracting Package” it stays forever in “In Progress” status.

Any ideia how to fix this? Thanks in advance

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [May 13, 2016, 6:05am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/11 "2016-05-13T06:05:47Z")

</div>

@epinheir@gmail.com my guess is that your server is missing the zip PHP module. But to be sure, check the Mautic logs (app/logs) and server logs for more details.

---

<div class="post-metadata">

### Author: ![epinheir](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@epinheir](https://forum.mautic.org/u/epinheir)
#### Post date: [May 13, 2016, 9:35am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/12 "2016-05-13T09:35:18Z")

</div>

Thanks for the reply @escopecz .The existing log files have a long list of the same error repeated over and over again. I couldn find any mention to a missing zip… any other ideas?

[2016-05-13 00:26:04] mautic.ERROR: DoctrineDBALDBALException: An exception occurred while executing ‘SELECT max(list\_leads.lead\_id) as max\_id, count(distinct(list\_leads.lead\_id)) as lead\_count FROM maubn\_lead\_lists\_leads list\_leads WHERE (list\_leads.manually\_removed = ?) AND (list\_leads.leadlist\_id IN ()) AND (list\_leads.date\_added \<= ‘2016-05-13 00:26:04’) AND (NOT EXISTS (SELECT null FROM maubn\_campaign\_leads campaign\_leads WHERE (campaign\_leads.lead\_id = list\_leads.lead\_id) AND (campaign\_leads.manually\_removed = ?) AND (campaign\_leads.campaign\_id = 1)))’ with params [0, 0]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND (list\_leads.date\_added \<= ‘2016-05-13 00:26:04’) AND (NOT EXISTS (SELECT ’ at line 1 (uncaught exception) at /home/aw1i6s8w/public\_html/fatimas.pt/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 while running console command `mautic:campaigns:update` []

---

<div class="post-metadata">

### Author: ![epinheir](https://avatars.discourse-cdn.com/v4/letter/e/b5a626/32.png) [@epinheir](https://forum.mautic.org/u/epinheir)
#### Post date: [May 13, 2016, 11:17am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/13 "2016-05-13T11:17:36Z")

</div>

@escopecz I’ve tried the upgrade again and the log shows:

[2016-05-13 12:12:56] mautic.ERROR: Fatal: Class ‘ZipArchive’ not found - in file /home/aw1i6s8w/public\_html/mautic/app/bundles/CoreBundle/Controller/AjaxController.php

Can you help?

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [May 13, 2016, 11:20am UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/14 "2016-05-13T11:20:02Z")

</div>

Yes, that’s what I wrote before. Install the ZIP PHP module, restart the server and the error should be gone.

---

<div class="post-metadata">

### Author: ![healthstatus](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@healthstatus](https://forum.mautic.org/u/healthstatus)
#### Post date: [May 23, 2016, 8:36pm UTC](https://forum.mautic.org/t/issues-after-upgrading-to-1-4/3736/15 "2016-05-23T20:36:17Z")

</div>

I am getting this error:  
mautic.ERROR: DoctrineDBALDBALException: An exception occurred while executing ‘ALTER TABLE hs\_users CHANGE role\_id role\_id INT NOT NULL, CHANGE username username VARCHAR(255) NOT NULL, CHANGE first\_name first\_name VARCHAR(255) NOT NULL, CHANGE last\_name last\_name VARCHAR(255) NOT NULL, CHANGE email email VARCHAR(255) NOT NULL, CHANGE position position VARCHAR(255) DEFAULT NULL, CHANGE timezone timezone VARCHAR(255) DEFAULT NULL, CHANGE locale locale VARCHAR(255) DEFAULT NULL, CHANGE signature signature LONGTEXT DEFAULT NULL’: SQLSTATE[HY000]: General error: 1832 Cannot change column ‘role\_id’: used in a foreign key constraint ‘FK\_94D54607D60322AC’ (uncaught exception) at /usr/local/www/vhosts/mautic.healthstatus.biz/htdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 while running console command `doctrine:schema:update` [] []

I have gone through the process at: [http://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful](http://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful) it is the update database schema when I run into this.
