• Resolved devmoto

    (@devmoto)


    Hello,

    after intalling the plugin i get that error:

    CRITICAL Cannot declare class TCPDF_FONT_DATA, because the name is already in use

    that error comes from a file used by another installed using TCPDF too.

    Maybe you have to rename all TCPDF classes with “lpc_” prefix like you did for main class?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter devmoto

    (@devmoto)

    For your information, conflicted plugin is “Woocommerce PDF Invoice”
    It uses TCPDF too.
    By deactivating that plugin it’s ok. But it’s useful for me…

    I try quickly to rename all TCPDF classes of that plugin as “WPITCPF” just to test but now i have a JSON problem at checkout when WPI have to generate a PDF invoice to attach it to new order email.

    Let me know if you can solve that issue.

    Plugin Author Colissimo

    (@iscpcolissimo)

    Hello,

    please find a correction:

    you have to replace the content of wp-content/plugins/colissimo-shipping-methods-for-woocommerce/lib by this one : https://fromsmash.com/f~OXu2XNqV-ct

    I would like your feedback if it’s ok.

    Best regards

    Thread Starter devmoto

    (@devmoto)

    Hello,

    works fine!

    Thanks!

    Plugin Author Colissimo

    (@iscpcolissimo)

    Hello,

    thank you.

    Hello,

    I have the same conflict but your link doesn’t work.

    Can i have the correction too please ?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘TCPDF class already used’ is closed to new replies.