# Error upgrading to 1.2.0 - AddonBundleBase.php

**URL:** <https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297>\
**Category:** Product Support\
**Created:** [September 7, 2015, 7:31am UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297 "2015-09-07T07:31:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![northernpaul](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@northernpaul](https://forum.mautic.org/u/northernpaul)\
**Post date:** [September 7, 2015, 7:31am UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297/1 "2015-09-07T07:31:14Z")

</div>

Hi, we’ve just upgraded from v1.1 to v1.2.0 using the option from the main dashboard, and it’s coming up with an internal server error after the upgrade. The error in the logs is below:  
  
  
  
PHP Warning: include(): Failed opening ‘/var/www/…/app/bundles/AddonBundle/Bundle/AddonBundleBase.php’ for inclusion (include\_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/…/vendor/composer/ClassLoader.php on line 412  
  
PHP Fatal error: Class ‘MauticAddonBundleBundleAddonBundleBase’ not found in /var/www/…/addons/MauticCrmBundle/MauticCrmBundle.php on line 21  
  
  
  
I’ve looked in the directory on the server and AddonBundleBase.php isn’t there, and it also isn’t there in the github source as far as I can tell either, so I can’t just download it and add it in. Any help to get it back up and running would be appreciated,  
  
  
  
Cheers,  
  
  
  
Paul

---

<div class="post-metadata">

**Author:** ![northernpaul](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@northernpaul](https://forum.mautic.org/u/northernpaul)\
**Post date:** [September 7, 2015, 7:31am UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297/2 "2015-09-07T07:31:14Z")

</div>

Hi, we’ve just upgraded from v1.1 to v1.2.0 using the option from the main dashboard, and it’s coming up with an internal server error after the upgrade. The error in the logs is below:

PHP Warning: include(): Failed opening ‘/var/www/…/app/bundles/AddonBundle/Bundle/AddonBundleBase.php’ for inclusion (include\_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/…/vendor/composer/ClassLoader.php on line 412  
PHP Fatal error: Class ‘MauticAddonBundleBundleAddonBundleBase’ not found in /var/www/…/addons/MauticCrmBundle/MauticCrmBundle.php on line 21

I’ve looked in the directory on the server and AddonBundleBase.php isn’t there, and it also isn’t there in the github source as far as I can tell either, so I can’t just download it and add it in. Any help to get it back up and running would be appreciated,

Cheers,

Paul

---

<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:** [September 7, 2015, 8:14am UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297/3 "2015-09-07T08:14:13Z")

</div>

Hi Paul, when there was an error during the database migration, many things could go wrong. But usually, the problem is only that the cache didn’t clear automatically after upgrade. Try to remove the app/cache folder.

---

<div class="post-metadata">

**Author:** ![northernpaul](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@northernpaul](https://forum.mautic.org/u/northernpaul)\
**Post date:** [September 9, 2015, 11:47am UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297/4 "2015-09-09T11:47:26Z")

</div>

Thanks escopecz, I’ve removed the app/cache folder, but still getting the same error unfortunately. Could it be anything else?

---

<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:** [September 10, 2015, 8:15am UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297/5 "2015-09-10T08:15:56Z")

</div>

I put together an article about manual upgrade. Let me know if it helped. [http://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful](http://johnlinhart.com/blog/uh-oh-mautic-upgrade-was-not-successful)

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:58pm UTC](https://forum.mautic.org/t/error-upgrading-to-1-2-0-addonbundlebase-php/2297/6 "2020-02-02T22:58:32Z")

</div>

Closed on February 2, 2020, 10:58pm UTC


