Title: Export doesn&#8217;t work when php 8 is activated
Last modified: June 29, 2023

---

# Export doesn’t work when php 8 is activated

 *  [Bára](https://wordpress.org/support/users/bonniegalactic/)
 * (@bonniegalactic)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-doesnt-work-when-php-8-is-activated/)
 * Hi, export fails when I change php version from 7.4 to 8. I need newest version,
   cause my website is very slow on the 7.4
   I am not sure, what you need to know,
   to find solution to this.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fexport-doesnt-work-when-php-8-is-activated%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-doesnt-work-when-php-8-is-activated/#post-16857047)
 * We need to know exact error message. If you don’t see it
    1. Please, visit >WooCommerce>Status>Logs and review “fatal-error-xxx” for today.
    2. Please, use browser to check JS errors.
       Short guide – [https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis](https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis)
 *  Thread Starter [Bára](https://wordpress.org/support/users/bonniegalactic/)
 * (@bonniegalactic)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-doesnt-work-when-php-8-is-activated/#post-16857110)
 * Hi,
   thank you for the fast response.it showed this message on the screen
 *     ```wp-block-code
       <style type="text/css"> .wp-die-message { display: none; } </style><link rel="stylesheet" href="https://ootoolno.cz/wp-content/plugins/query-monitor/assets/query-monitor.css?ver=3.12.3" media="all" /><div data-qm="qm"><div id="qm-fatal" data-qm-message="Uncaught Error: Unsupported operand types: string + string" data-qm-file="wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-coupon-fields.php" data-qm-line="40"><div class="qm-fatal-wrap"><p><svg class="qm-icon qm-icon-warning" aria-hidden="true" width="20" height="20" viewBox="0 0 20 20"><use href="#qm-icon-warning" /></svg> <b>Fatal error</b>: Uncaught Error: Unsupported operand types: string + string<br>in <b>/DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-coupon-fields.php</b> on line <b>40</b></p><p>Call stack:</p><ol><li><code>WC_Order_Export_Order_Coupon_Fields::get()</code><br><span class="qm-info qm-supplemental">wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php:1459</span></li><li><code>WC_Order_Export_Data_Extractor::fetch_order_coupons()</code><br><span class="qm-info qm-supplemental">wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php:1734</span></li><li><code>WC_Order_Export_Data_Extractor::fetch_order_data()</code><br><span class="qm-info qm-supplemental">wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php:520</span></li><li><code>WC_Order_Export_Engine::build_file()</code><br><span class="qm-info qm-supplemental">wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php:86</span></...
       ```
   
 * Nothing in the javascript console.
 * And this is the log:
 *     ```wp-block-code
       2023-06-29T09:53:27+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: string + string in /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-coupon-fields.php:40
       Stack trace:
       #0 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1459): WC_Order_Export_Order_Coupon_Fields->get()
       #1 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1734): WC_Order_Export_Data_Extractor::fetch_order_coupons()
       #2 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(520): WC_Order_Export_Data_Extractor::fetch_order_data()
       #3 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php(86): WC_Order_Export_Engine::build_file()
       #4 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/class-wc-order-export-admin.php(540): WC_Order_Export_Admin_Tab_Abstract->ajax_export_part()
       #5 /DISK3/www/0000/ootoolno.cz/www/wp-includes/class-wp-hook.php(308): WC_Order_Export_Admin->ajax_gate()
       #6 /DISK3/www/0000/ootoolno.cz/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
       #7 /DISK3/www/0000/ootoolno.cz/www/wp-includes/plugin.php(517): WP_Hook->do_action()
       #8 /DISK3/www/0000/ootoolno.cz/www/wp-admin/admin-ajax.php(188): do_action()
       #9 {main}
         thrown v /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-coupon-fields.php na řádku 40
   
       2023-06-29T09:53:27+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: string + string in /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-coupon-fields.php:40
       Stack trace:
       #0 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1459): WC_Order_Export_Order_Coupon_Fields->get()
       #1 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-data-extractor.php(1734): WC_Order_Export_Data_Extractor::fetch_order_coupons()
       #2 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-engine.php(520): WC_Order_Export_Data_Extractor::fetch_order_data()
       #3 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php(86): WC_Order_Export_Engine::build_file()
       #4 /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/class-wc-order-export-admin.php(540): WC_Order_Export_Admin_Tab_Abstract->ajax_export_part()
       #5 /DISK3/www/0000/ootoolno.cz/www/wp-includes/class-wp-hook.php(308): WC_Order_Export_Admin->ajax_gate()
       #6 /DISK3/www/0000/ootoolno.cz/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
       #7 /DISK3/www/0000/ootoolno.cz/www/wp-includes/plugin.php(517): WP_Hook->do_action()
       #8 /DISK3/www/0000/ootoolno.cz/www/wp-admin/admin-ajax.php(188): do_action()
       #9 {main}
         thrown v /DISK3/www/0000/ootoolno.cz/www/wp-content/plugins/woo-order-export-lite/classes/core/class-wc-order-export-order-coupon-fields.php na řádku 40
       ```
   
 *  Plugin Author [algol.plus](https://wordpress.org/support/users/algolplus/)
 * (@algolplus)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/export-doesnt-work-when-php-8-is-activated/#post-16857210)
 * hello
 * please, submit new ticket to [https://algolplus.freshdesk.com/](https://algolplus.freshdesk.com/)
 * and we’ll provide a fix asap.
 * thanks, Alex

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

The topic ‘Export doesn’t work when php 8 is activated’ 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
 * 2 participants
 * Last reply from: [algol.plus](https://wordpress.org/support/users/algolplus/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/export-doesnt-work-when-php-8-is-activated/#post-16857210)
 * Status: not resolved