# Landing pages throwing 500 error after upgrade to 3.0.2 from 2.16

**URL:** https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421
**Category:** Mautic 3 - Install/Upgrade Support
**Created:** [July 28, 2020, 2:46pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421 "2020-07-28T14:46:17Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sgtbhaji](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sgtbhaji/32/637_2.png) [@sgtbhaji](https://forum.mautic.org/u/sgtbhaji)
#### Post date: [July 28, 2020, 2:46pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/1 "2020-07-28T14:46:17Z")

</div>

My Mautic version is: 3.0.2  
My PHP version is: 7.2.30

After upgrading to Mautic 3.0.2, my landing pages are now throwing a 500 error. I can edit them fine, just can’t view or preview them.

These errors are showing in the log:  
[2020-07-28 09:38:23] mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: “Call to a member function getIntegrationSettings() on boolean” at D:\home\site\wwwroot\mailer\app\bundles\NotificationBundle\EventListener\PageSubscriber.php line 51 {“exception”:"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to a member function getIntegrationSettings() on boolean at D:\home\site\wwwroot\mailer\app\bundles\NotificationBundle\EventListener\PageSubscriber.php:51)"}

I have not attempted any steps to fix the problem as I’m not sure where to start.

Thanks for any assistance you can provide!

---

<div class="post-metadata">

### Author: ![sgtbhaji](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sgtbhaji/32/637_2.png) [@sgtbhaji](https://forum.mautic.org/u/sgtbhaji)
#### Post date: [July 29, 2020, 4:02pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/2 "2020-07-29T16:02:46Z")

</div>

Same issue occurs upgrading from 2.16.3 to 3.0.1.

---

<div class="post-metadata">

### Author: ![deejames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/deejames/32/677_2.png) [@deejames](https://forum.mautic.org/u/deejames)
#### Post date: [July 31, 2020, 7:55pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/3 "2020-07-31T19:55:24Z")

</div>

Getting same 500 error from landing pages.

---

<div class="post-metadata">

### Author: ![sgtbhaji](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sgtbhaji/32/637_2.png) [@sgtbhaji](https://forum.mautic.org/u/sgtbhaji)
#### Post date: [August 3, 2020, 3:41pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/4 "2020-08-03T15:41:54Z")

</div>

I have also tried a fresh install. Same error there.

---

<div class="post-metadata">

### Author: ![sgtbhaji](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sgtbhaji/32/637_2.png) [@sgtbhaji](https://forum.mautic.org/u/sgtbhaji)
#### Post date: [August 25, 2020, 9:31pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/5 "2020-08-25T21:31:39Z")

</div>

Still seeing the same 500 error with Mautic 3.1 ☹

---

<div class="post-metadata">

### Author: ![smguser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/smguser/32/1394_2.png) [@smguser](https://forum.mautic.org/u/smguser)
#### Post date: [August 25, 2020, 9:53pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/6 "2020-08-25T21:53:34Z")

</div>

Also got the same 500 error on landing pages (upgraded from Mautic 2.16 or newly created in Mautic 3) after upgrading to Mautic 3.0. Editing worked but view/ preview generated errors just like you report. Have rolled back update to v2.16.

---

<div class="post-metadata">

### Author: ![sgtbhaji](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sgtbhaji/32/637_2.png) [@sgtbhaji](https://forum.mautic.org/u/sgtbhaji)
#### Post date: [August 25, 2020, 10:11pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/7 "2020-08-25T22:11:39Z")

</div>

Yep. Keep rolling back to 2.16.3 also.

---

<div class="post-metadata">

### Author: ![smguser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/smguser/32/1394_2.png) [@smguser](https://forum.mautic.org/u/smguser)
#### Post date: [October 19, 2020, 9:16pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/8 "2020-10-19T21:16:45Z")

</div>

Still get the same error when upgrading to Mautic 3.1.1. Am running on Windows IIS with Mariadb 10.4. As a test tried to create fresh Mautic 3.1.1 instance with a fresh database. Got the same error on landing pages. Repeated fresh Mautic 3.1.1 install with MySQL 8.0.21 and got the same error on landing pages.

**Opened PageSubscriber.php and saw that on line 50-51 it says:**

$integrationObject = $this-\>integrationHelper-\>getIntegrationObject(‘OneSignal’);  
$settings = $integrationObject-\>getIntegrationSettings();

A check on Settings\> Plugins shows that the OneSignal plugin along with several others is not loaded. Opening the database and checking the table (prefix)plugin-Integration\_settings shows that entries for OneSignal & Twilio are missing.

Tried the local.cfg modifications suggested in this [similar problem report from Bitnami](https://community.bitnami.com/t/i-launched-aws-bitnami-image-for-mautic-the-plugins-are-missing/85747/11) but it did not fix the issue.

---

<div class="post-metadata">

### Author: ![smguser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/smguser/32/1394_2.png) [@smguser](https://forum.mautic.org/u/smguser)
#### Post date: [October 19, 2020, 9:48pm UTC](https://forum.mautic.org/t/landing-pages-throwing-500-error-after-upgrade-to-3-0-2-from-2-16/15421/9 "2020-10-19T21:48:44Z")

</div>

Just noticed that there was fix in the works( [#9274](https://github.com/mautic/mautic/pull/9274)). I edited IntegrationHelper.php as suggested in the fix. It works! Now the missing plugins are visible and the landing pages work in the upgraded 3.1.1 Mautic installation.

Any idea when the patch/ update for this will be available?
