# Step 5 - Fatal error: Cannot declare class Contact

**URL:** <https://www.dolibarr.org/forum/t/step-5-fatal-error-cannot-declare-class-contact/29605>\
**Category:** Installing my Dolibarr\
**Tags:** PHP-Issues, Help, Linux\
**Created:** [November 18, 2024, 4:57pm UTC](https://www.dolibarr.org/forum/t/step-5-fatal-error-cannot-declare-class-contact/29605 "2024-11-18T16:57:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandraolt](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/s/43a26b/32.png) [@sandraolt](https://www.dolibarr.org/forum/u/sandraolt)\
**Post date:** [November 18, 2024, 4:57pm UTC](https://www.dolibarr.org/forum/t/step-5-fatal-error-cannot-declare-class-contact/29605/1 "2024-11-18T16:57:59Z")

</div>

Hello,  
I have been attempting to install Dolibarr on my site. However, I keep getting the above error in Step 5. I’m not sure how to solve the problem. I did find a similar issue in the French forum (I used google translate to read it), and I have included the link; however, they never posted how it was resolved.

I attempted installing using Sourceforge download and GitHub, with the same error.

Plesk Obsidian 18.0.64 Update #1 Web Host Edition

OS - Ubuntu 22.04.5 LTS  
MariaDB - 10.6.18  
PHP vs - 8.2.25

Fatal error: Cannot declare class Contact, because the name is already in use in /var/www/vhosts/\*\*\*\*\*/httpdocs/contact/class/contact.class.php on line 44

> **[Cannot declare class Contact, because the name is already in use](https://www.dolibarr.fr/forum/t/cannot-declare-class-contact-because-the-name-is-already-in-use/41898)**
>
> Bonjour à tous et meilleurs voeux 2023. L’année commence pas très bien pour moi, j’ai deux dolibarr installer sur un serveur VPS administré par PLESK. Depuis ce matin j’ai la même erreur sur mes deux instance dolibarr une en v 14.0.4 et l’autre...

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [November 18, 2024, 8:38pm UTC](https://www.dolibarr.org/forum/t/step-5-fatal-error-cannot-declare-class-contact/29605/2 "2024-11-18T20:38:31Z")

</div>

Hello,

As explain on the french forum, this error seems to be related to the PHP configuration of Plesk.  
Better to ask this question on their forum.
