plugin conflict

Viewing 2 posts - 1 through 2 (of 2 total)
#74359

gideonlearning
Participant

I was about to renew my subscription, but when I tried to activate the current version I have, I got this error that it conflicts with another plugin.

Fatal error: Cannot redeclare dd() (previously declared in /home/wp_yg7k3m/gideon.store/wp-content/plugins/woocommerce-pdf-ips-pro/dropbox/vendor/tightenco/collect/src/Illuminate/Support/helpers.php:109) in /home/wp_yg7k3m/gideon.store/wp-content/plugins/download-manager/wpdm-functions.php on line 1790

The Woocommerce pdf plugin developer said this:

I’m afraid this is not something I can easily change from our end. The dd() function in the PDF invoice Pro extension is part of a third party library, and the library actually already checks if the function is not loaded by any other process:

if (! function_exists(‘dd’)) {

The problem is that the download manager is registering the function after ours is already loaded, so that check doesn’t find any others with the same name yet.

There are two possible solutions here you can ask the WP Download Manager developers:

-Add a check as with ours that verifies there is no such function name yet
-namespace the functions or use a less generic name

Are either of the above solutions options or should I look for a new download plugin?

#74376

Hi,

Are you using the free version or premium version? What is your plugin version? Please send login in private to check.

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘plugin conflict’ is closed to new replies.