snowcap / Emarsys

PHP HTTP client for Emarsys webservice
MIT License
39 stars 37 forks source link

Undefined function json_last_error_msg() #50

Open nickhhg opened 4 years ago

nickhhg commented 4 years ago

The library is seemingly for PHP 5.3 or greater, but it uses the function json_last_error_msg() which is only available in PHP 5.5 or later. This can cause a fatal error if it reaches this point in the code.

Line 914 in src\Snowcap\Emarsys\Client.php