• Hi Team Shipcloud,

    since your Plugin rewrite (2.x) the PDF Generation in German Market https://marketpress.de/shop/plugins/woocommerce/woocommerce-german-market/ is broken.

    I contacted Marketpress (Developer of German Market) and they found the problem:

    The plugin “shipcloud for WooCommerce” causes the problem.

    If the plugin is deactivated, the download of the PDFs works without errors.
    It automatically loads PHP classes like other plugins. Here, it seems that the FPDF class is always needed and it is always included.
    However, it does not load the actual FPDF library, but “tcpdi.php”.
    The whole thing can be seen in the file

    plugins/shipcloud-for-woocommerce/vendor/composer/autoload_classmap.php:

    'FPDF' => $vendorDir . '/iio/libmergepdf/tcpdi/tcpdi.php',

    Now that FPDF has already been loaded, German Market will not reload it. The problem is that FPDF was not loaded here at all.

    The class that is included here does not contain the method “AliasNbPages” – and therefore the generation crashes.

    Could you please fix this asap, so that either FPDF is correct loaded or the loaded class is renamed to the correct one?

    Thanks in advance
    Marius

  • The topic ‘German Market PDF generation not possible since rewrite’ is closed to new replies.