• Packlink causes an error when creating a PDF with German Market Plugin and PHP 8 enabled. Everything works if i have PHP 7.4 or if i deactivate The Packlink Plugin.

    Fehler-Details
    
    ==============
    
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 1043 der Datei /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/packlink-pro-shipping/vendor/setasign/fpdf/fpdf.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/packlink-pro-shipping/vendor/setasign/fpdf/fpdf.php:1043
    
    Stack trace:
    
    #0 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/packlink-pro-shipping/vendor/setasign/fpdf/fpdf.php(77): FPDF->_dochecks()
    
    #1 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce-german-market/add-ons/woocommerce-return-delivery-pdf/vendors/wcreapdf/application/class-wcreapdf-pdf.php(240): FPDF->__construct()
    
    #2 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce-german-market/add-ons/woocommerce-return-delivery-pdf/vendors/wcreapdf/application/backend/class-wcreapdf-backend-options-wgm.php(793): WCREAPDF_Pdf::create_pdf()
    
    #3 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce-german-market/add-ons/woocommerce-return-delivery-pdf/vendors/wcreapdf/application/backend/class-wcreapdf-backend-options-wgm.php(812): WCREAPDF_Backend_Options_WGM::send_test_pdf()
    
    #4 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-includes/class-wp-hook.php(308): WCREAPDF_Backend_Options_WGM::save()
    
    #5 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    
    #6 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(881): apply_filters()
    
    #7 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce/includes/admin/wc-admin-functions.php(186): WC_Admin_Settings::save_fields()
    
    #8 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce-german-market/inc/WGM_Ui.php(801): woocommerce_update_options()
    
    #9 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-content/plugins/woocommerce-german-market/inc/WGM_Ui.php(702): WGM_Ui->render_content()
    
    #10 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-includes/class-wp-hook.php(308): WGM_Ui->render_german_market_menu()
    
    #11 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    #12 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #13 /var/www/vhosts/stadtansichten-wernigerode.de/stadtansichten-wernigerode.de/wp-admin/admin.php(259): do_action()
    
    #14 {main}
    
      thrown
    • This topic was modified 1 year, 11 months ago by torsten3d.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter torsten3d

    (@torsten3d)

    I’ve got an answer from MArket Press Team:

    German Market uses the PHP library “FPDF” to generate PDFs for delivery notes and return slips.
    If this library already exists in another plugin, German Market will not include it again, but use the files already included.
    Apparently the FPDF library in the “Packlink Pro Shipping” plugin is deprecated. The plugin should use a current version of FPDF. You would have to contact the support of this plugin.

    So please update the PHP Library.

    Thanks
    Torsten

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with “German Market” Plugin, PDF Creation under PHP 8’ is closed to new replies.