---
title: "Troubleshooting \"PHP Fatal error:  Cannot redeclare dd()\" error"
date: "2025-02-06T00:05:08+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92286-troubleshooting-php-fatal-error-cannot-redeclare-dd-error"
id: "e1d80d5f-7165-441a-8d0e-4eab5b228c3a"
---

**Issue**
---------

When running any Drush command, like `drush status`, you are getting an error as the following one

    PHP Fatal error:  Cannot redeclare dd() (previously declared in /usr/local/drush8/vendor/symfony/var-dumper/Resources/functions/dump.php:35) in /mnt/www/html/****/docroot/sites/all/modules/contrib/devel/devel.module on line 1769

**Resolution**
--------------

This issue might be linked to the fact that you are using an old Devel module version. The fix from this issue has been committed in the `7.x-1.6` version in the module back in 2018, as you can read in [https://www.drupal.org/project/devel/releases/7.x-1.6](https://www.drupal.org/project/devel/releases/7.x-1.6):

> Issue #2559061 by dagmar: Fatal error: Cannot redeclare dd().

Disabling or updating the module to its latest version might solve this.