Title: JsonMapper.php on line 119
Last modified: February 6, 2023

---

# JsonMapper.php on line 119

 *  Resolved [da14i10](https://wordpress.org/support/users/da14i10/)
 * (@da14i10)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/jsonmapper-php-on-line-119/)
 * Hello, Dear WooCommerce Square Support.
 * I am using Woocommerce square and am getting an error code.
   I performed a test
   payment and both payment and refund seemed to work correctly.
 * We contacted you because there is a possibility that other similar errors are
   being displayed and we do not want to have a big trouble in the future.
 * The error codes are as follows.
 * **Warning**: parse_ini_file(/etc/php-fpm/php74-php.ini): failed to open stream:
   Permission denied in **/home/~/wp-content/plugins/woocommerce-square/vendor/apimatic/
   jsonmapper/src/JsonMapper.php** on line **119**
 * Thank you for your time.

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

 *  [Rynald0s](https://wordpress.org/support/users/rynald0s/)
 * (@rynald0s)
 * Automattic Happiness Engineer
 * [3 years, 2 months ago](https://wordpress.org/support/topic/jsonmapper-php-on-line-119/#post-16447294)
 * Hi [@da14i10](https://wordpress.org/support/users/da14i10/)
 * It appears that you have successfully conducted tests using the Square gateway,
   however, an error has come up at some point during the process. This error does
   not seem to have had a negative impact on the overall functionality of the plugin
   though?
 * The error message you have encountered is related to a file permission issue,
   rather than with the plugin itself. The PHP script is unable to access the “/
   etc/php-fpm/php74-php.ini” file as it does not have sufficient permissions to
   do so.
 * To resolve this issue, it is recommended to seek assistance from your hosting
   provider. They can assist in ensuring that the file permissions are set up correctly
   for the appropriate user.
   Please let us know if that helps. Cheers!
 *  Thread Starter [da14i10](https://wordpress.org/support/users/da14i10/)
 * (@da14i10)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/jsonmapper-php-on-line-119/#post-16449214)
 * Hi Rynald0s.a11n
 * Thank you for telling us about it.
   We will contact the hosting service provider
   as soon as possible.
 * Thank you so much.
 *  [Amir A. (woo-hc)](https://wordpress.org/support/users/amiralifarooq/)
 * (@amiralifarooq)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/jsonmapper-php-on-line-119/#post-16449240)
 * Hi [@da14i10](https://wordpress.org/support/users/da14i10/)
 * 
   You’re welcome, if you have any new questions, please create a new ticket. Cheers!

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

The topic ‘JsonMapper.php on line 119’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Amir A. (woo-hc)](https://wordpress.org/support/users/amiralifarooq/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/jsonmapper-php-on-line-119/#post-16449240)
 * Status: resolved