Title: Export preview causes critical error
Last modified: February 7, 2025

---

# Export preview causes critical error

 *  Resolved [jacmare](https://wordpress.org/support/users/jacmare/)
 * (@jacmare)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/export-preview-causes-critical-error/)
 * **configuration**
   Plugin v3.5.7Woo : 9.6.1WP : 6.7.1PHP: 7.4.33-nmm7
 * Hi dear dev ! 
   I like very much your plugin (and was about to order a subscription)
   as it works well on one of my older sites … yet here, I get “this “critical error”
   right after installation, when trying to activate any preview.
 * Debug message is
   ” PHP Fatal error: Uncaught Error: Call to undefined function
   wc_gzdp_get_invoices_by_order() in …/wp-content/plugins/woo-order-export-lite/
   classes/core/class-wc-order-export-engine.php(370) : eval()’d code:2
 * DO you have any idea what I could do, please?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/export-preview-causes-critical-error/#post-18291786)
 * hello
 * You added custom PHP code for ” Germanized Pro” plugin, but this plugin is not
   active on this website.
 * Please open section “Misc Settings” (at bottom) and remove PHP code.
 *  Thread Starter [jacmare](https://wordpress.org/support/users/jacmare/)
 * (@jacmare)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/export-preview-causes-critical-error/#post-18292339)
 * Hi
 * Wow that’s true, and it works! I simply forgot that I imported those settings
   from the other site… Thank you so much for the incredible lightning support too!(
   And now I m twice as much puzzled by how you could find that mistake of me based
   on so little data of course !?)
 * Cheers 
   Chris
 * 
   PS: first thing on Monday, I subscribe to premium 😉
 *  Plugin Support [aprokaev](https://wordpress.org/support/users/aprokaev/)
 * (@aprokaev)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/export-preview-causes-critical-error/#post-18293171)
 * Error text has all necessary information 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Export preview causes critical error’ is closed to new replies.

 * ![](https://ps.w.org/woo-order-export-lite/assets/icon-256x256.png?rev=1365554)
 * [Advanced Order Export For WooCommerce](https://wordpress.org/plugins/woo-order-export-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-order-export-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-order-export-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-order-export-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-order-export-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-order-export-lite/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [aprokaev](https://wordpress.org/support/users/aprokaev/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/export-preview-causes-critical-error/#post-18293171)
 * Status: resolved