Title: Error in PHP v7.2
Last modified: March 12, 2025

---

# Error in PHP v7.2

 *  Resolved [Mehraz Morshed](https://wordpress.org/support/users/mehrazmorshed/)
 * (@mehrazmorshed)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/error-in-php-v7-2/)
 * Hi, I was testing some of my plugins with **Astra** Theme. After switching the**
   PHP version** to **7.2**, it displayed the error below:
   `PHP Parse **error:**
   syntax error, unexpected ')' in ../wp-content/themes/astra/inc/dynamic-css/dark-
   mode.php on **line 74**`

Viewing 1 replies (of 1 total)

 *  [Aradhy Singh](https://wordpress.org/support/users/bsfaradhy/)
 * (@bsfaradhy)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/error-in-php-v7-2/#post-18365688)
 * Hi [@mehrazmorshed](https://wordpress.org/support/users/mehrazmorshed/),
 * I am not getting any option to downgrade the PHP version to 7.2. Maybe it will
   be better if you can reach out to us through our [Support Portal](https://wpastra.com/contact/),
   so we can have a closer look at your site. Also, we respond faster there.
 * Once you open a ticket, please mark this thread as `Resolved`.
 * Kind regards,
    Aradhy 😊

Viewing 1 replies (of 1 total)

The topic ‘Error in PHP v7.2’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/astra/4.13.4/screenshot.jpg)
 * Astra
 * [Support Threads](https://wordpress.org/support/theme/astra/)
 * [Active Topics](https://wordpress.org/support/theme/astra/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/astra/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/astra/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Aradhy Singh](https://wordpress.org/support/users/bsfaradhy/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/error-in-php-v7-2/#post-18365688)
 * Status: resolved