pronamic / wp-mollie

Mollie API client for WordPress.
GNU General Public License v2.0
2 stars 0 forks source link

Reading from possible unavailable `package.json` #1

Closed rvdsteege closed 1 year ago

rvdsteege commented 1 year ago

In a Pronamic Pay support ticket I noticed the following error message:

Warning: filge_get_contents(/../package.json): failed to open stream: No such file or directory in /wp-content/plugins/pronamic-ideal/vendor/pronamic/wp-mollie/src/Client.php on line 51

This is probably caused by https://github.com/pronamic/wp-deployer removing the package.json file.

https://github.com/pronamic/wp-mollie/blob/4fee8192193bfaf83ca39e7278302f15e327cace/src/Client.php#L43-L64

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2094871304/24913/