# Fatal Error Installing Custom Objects Plugin in V5.0.3

**URL:** <https://forum.mautic.org/t/fatal-error-installing-custom-objects-plugin-in-v5-0-3/31324>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [March 18, 2024, 10:17am UTC](https://forum.mautic.org/t/fatal-error-installing-custom-objects-plugin-in-v5-0-3/31324 "2024-03-18T10:17:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![garry1975](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/garry1975/32/6515_2.png) [@garry1975](https://forum.mautic.org/u/garry1975)\
**Post date:** [March 18, 2024, 10:17am UTC](https://forum.mautic.org/t/fatal-error-installing-custom-objects-plugin-in-v5-0-3/31324/1 "2024-03-18T10:17:31Z")

</div>

**Your software**  
My Mautic version is: 5.0.3  
My PHP version is: 8.1.2-1ubuntu2.14  
My Database type and version is: 10.6.16-MariaDB-0ubuntu0.22.04.1

**Your problem**  
My problem is: Custom Objects Plugin throwing fatal error on installation

These errors are showing in the log: PHP Fatal error: Access level to Mautic Plugin\Custom Objects Bundle\Controller\Custom Object\FormController::renderForm() must be protected (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController) or weaker in /var/www/html/mautic/plugins/CustomObjectsBundle/Controller/CustomObject/FormController.php on line 129

Steps I have tried to fix the problem: Cleared cache as per advice on support forum

---

<div class="post-metadata">

**Author:** ![ricfreire](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ricfreire/32/14973_2.png) [@ricfreire](https://forum.mautic.org/u/ricfreire)\
**Post date:** [March 18, 2024, 10:46am UTC](https://forum.mautic.org/t/fatal-error-installing-custom-objects-plugin-in-v5-0-3/31324/2 "2024-03-18T10:46:16Z")

</div>

Hi @garry1975

That is happening probably because the plugin is not compatible with version 5. Check the plugin logs or directly inquire with the programmer or company that developed it.

Best regards,  
Ricardo

---

<div class="post-metadata">

**Author:** ![peceunicis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peceunicis/32/13330_2.png) [@peceunicis](https://forum.mautic.org/u/peceunicis)\
**Post date:** [April 1, 2024, 2:11pm UTC](https://forum.mautic.org/t/fatal-error-installing-custom-objects-plugin-in-v5-0-3/31324/3 "2024-04-01T14:11:30Z")

</div>

I’m having the same issue. Tried to install all the other branches on the repository, but no success, all of them resulted with the same error:

```auto
PHP Fatal error: Access level to MauticPlugin\CustomObjectsBundle\Controller\CustomObject\FormController::renderForm() must be protected (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController) or weaker in /var/www/html/mautic/plugins/CustomObjectsBundle/Controller/CustomObject/FormController.php on line 129

In FormController.php line 129:

  Compile Error: Access level to MauticPlugin\CustomObjectsBundle\Controller\CustomObject\FormController::renderForm() must be protec
  ted (as in class Symfony\Bundle\FrameworkBundle\Controller\AbstractController) or weaker

```

Here are the tested branches:

- [RELEASE\_ACS-2022.09.02](https://github.com/acquia/mc-cs-plugin-custom-objects/tree/RELEASE_ACS-2022.09.02)
- [Release\_ACS-2023.12.01-9](https://github.com/acquia/mc-cs-plugin-custom-objects/tree/Release_ACS-2023.12.01-9)
- [MAUT-11107](https://github.com/acquia/mc-cs-plugin-custom-objects/tree/MAUT-11107)
- [MAUT-11209](https://github.com/acquia/mc-cs-plugin-custom-objects/tree/MAUT-11209)
- [5.x](https://github.com/acquia/mc-cs-plugin-custom-objects/tree/5.x)
