Fatal error: Cannot redeclare d() (previously declared…

ThemeBurn SupportForumsWordPress ThemesShoppica WordPress ThemeFatal error: Cannot redeclare d() (previously declared…

This topic has been marked as resolved.

Hi!

I have a WooCommerce Bulk PDF Packing Slips and Invoices plugin installed. (http://61extensions.com/shop/woocommerce-pdf-invoices-packing-slips/)
If i try to enable i see an error message described below and i cannot use my dashboard or frontend any more. If the plugin is switched off, everything works fine.

What should i do to fix this issue?

Fatal error: Cannot redeclare d() (previously declared in C:\Users\computer\Documents\Websites\www.yoursite.dev\wp-content\plugins\woocommerce-packingslips-invoices\lib\dompdf\include\functions.inc.php:86) in C:\Users\computer\Documents\Websites\www.yoursite.dev\wp-content\themes\shoppica\library\UnoSlider\library\Unodor\Debug.php on line 20

Also, there is a code what is in the file /woocommerce-packingslips-invoices\lib\dompdf\include\functions.inc.php:86

Starts from line 78 and ends on line 89


if ( !function_exists("d") ) {
/**
 * generic debug function
 *
 * Takes everything and does its best to give a good debug output
 *
 * @param mixed $mixed variable or expression to display.
 */
function d($mixed) {
  if ( php_sapi_name() !== "cli" ) {
    echo "<pre>";
  }

Line 86 is

function d($mixed) {

February 24, 2013 at 12:21 pm #19321

Hello,

There is two ways to fix it.

To remove the plugin or to remove UnoSlider.

If you want to remove UnoSlider please do following:

You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!

Best,
ThemeBurn Team

February 24, 2013 at 11:18 pm #19333

Thank you, it did the trick.

February 24, 2013 at 11:35 pm #19335

Glad, we’ve helped, mate :)

Best,
ThemeBurn team

February 25, 2013 at 11:32 am #19375
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.