Title: Php error on latest version
Last modified: October 10, 2022

---

# Php error on latest version

 *  Resolved [JenWebDev](https://wordpress.org/support/users/jenwebdev/)
 * (@jenwebdev)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/)
 * I tried updating today and the price wouldn’t show until the number of items 
   was increased / decreased. The error log showed the following:
 * PHP Fatal error: Cannot redeclare edd_is_promo_active() (previously declared 
   in /(path)/plugins/easy-digital-downloads/includes/deprecated-functions.php:1906)
   in /(path)/plugins/easy-digital-downloads/includes/misc-functions.php on line
   1746
 * Reverted for now.
 * Wordpress 6.0.2
    PHP 8.1
    -  This topic was modified 3 years, 8 months ago by [JenWebDev](https://wordpress.org/support/users/jenwebdev/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Chris Klosowski](https://wordpress.org/support/users/cklosows/)
 * (@cklosows)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/#post-16086363)
 * [@jenwebdev](https://wordpress.org/support/users/jenwebdev/)
 * Sorry for the troubles. I looked over the release, and I’m not seeing this function
   declared more than once. Can you try a clean install of EDD 3.1.0.1? It seems
   like the update did not fully remove or update all of the files we changed in
   the latest release.
 * You can get the most up to date release files here:
    [https://downloads.wordpress.org/plugin/easy-digital-downloads.zip](https://downloads.wordpress.org/plugin/easy-digital-downloads.zip)
 *  Thread Starter [JenWebDev](https://wordpress.org/support/users/jenwebdev/)
 * (@jenwebdev)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/#post-16086392)
 * I replaced the version on the dev site and am not getting that error now, but
   am having the same issue I had before (which I thought was from the error).
 * You can see on [the live site](https://www.laurahawley.ca/catalogue/a-house-of-prayer/)
   that the price shows up when the page is loaded
 * On the [dev site](https://jenweb.dev/devsites/laura/catalogue/a-house-of-prayer/)
   with the new EDD version, the price doesn’t show up until you increase / decrease/
   manually enter the number of items.
 * I know we have a bit of customization to show the minimum number of items required–
   but it’s worked fine for years. Did the plugin code for that change somehow?
 *  Plugin Contributor [Mihai Joldis](https://wordpress.org/support/users/misulicus/)
 * (@misulicus)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/#post-16093245)
 * Hey [@jenwebdev](https://wordpress.org/support/users/jenwebdev/)
 * Do you happen to have custom EDD template files inside your active directory?
   They usually are under an edd_templates/ directory. If so try renaming that directory
   and let EDD load the default template files and see if the issue still exists.
 *  Thread Starter [JenWebDev](https://wordpress.org/support/users/jenwebdev/)
 * (@jenwebdev)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/#post-16093325)
 * Hi Mihai, yes, that works. For some reason this update caused our custom code(
   forcing a minimum amount) to no longer work correctly. Did something change in
   that part of the plugin?
 * Appreciate the support.
 *  Thread Starter [JenWebDev](https://wordpress.org/support/users/jenwebdev/)
 * (@jenwebdev)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/#post-16093379)
 * Ah, found it! It was a change in the plugin css. All better now. Thank you.
 * ps: can you remove the links in the previous post? I can’t edit. Thanks.
    -  This reply was modified 3 years, 8 months ago by [JenWebDev](https://wordpress.org/support/users/jenwebdev/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Php error on latest version’ is closed to new replies.

 * ![](https://ps.w.org/easy-digital-downloads/assets/icon.svg?rev=3455837)
 * [Easy Digital Downloads – eCommerce Payments and Subscriptions made easy](https://wordpress.org/plugins/easy-digital-downloads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-digital-downloads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-digital-downloads/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-digital-downloads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-digital-downloads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-digital-downloads/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [JenWebDev](https://wordpress.org/support/users/jenwebdev/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/php-error-on-latest-version/#post-16093379)
 * Status: resolved