Title: PHP Unknown Error: escapeshellarg()
Last modified: April 10, 2023

---

# PHP Unknown Error: escapeshellarg()

 *  [changedj](https://wordpress.org/support/users/changedj/)
 * (@changedj)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/php-unknown-error-escapeshellarg/)
 * При попытке выгрузить товар выдает такую ошибку:
   offers.xml:Произошла ошибка 
   на стороне сервера. Получен неизвестный статус импорта.Ответ сервера:PHP Unknown
   Error: escapeshellarg() has been disabled for security reasons in /public_html/
   wp-content/plugins/woocommerce-and-1centerprise-data-exchange/exchange.php on
   line 341.Строка 341:$command = sprintf(“unzip -qqo -x %s -d %s”, implode(‘ ‘,
   array_map(‘escapeshellarg’, $zip_paths)), escapeshellarg($data_dir));Как это 
   исправить?

The topic ‘PHP Unknown Error: escapeshellarg()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-and-1centerprise-data-
   exchange.svg)
 * [Data Exchange for WooCommerce and 1C:Enterprise/1С:Предприятие](https://wordpress.org/plugins/woocommerce-and-1centerprise-data-exchange/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-and-1centerprise-data-exchange/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-and-1centerprise-data-exchange/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-and-1centerprise-data-exchange/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-and-1centerprise-data-exchange/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-and-1centerprise-data-exchange/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [changedj](https://wordpress.org/support/users/changedj/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/php-unknown-error-escapeshellarg/)
 * Status: not resolved