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) {
|
|
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
|
|
Thank you, it did the trick.
|
|
Glad, we’ve helped, mate
Best,
ThemeBurn team
|
|