I just found an ErrorException thrown when trying the audio and I found out that it's because on my dev machine, I am in strict mode and I get an error because of the line 302 from catpcha.php. So I basically get the following error:
Type: ErrorException
Code: 2048
Message: Only variables should be passed by reference
File: F:\BtSyncDev\htdocs\investing\api\vendor\emotionloop\visualcaptcha\src\visualCaptcha\Captcha.php
Line: 302
In order to fix this issue and get rid of the ErrorException, it simply needs to be split into 2 lines of codes (instead of 1 line) with the following:
I just found an
ErrorException
thrown when trying the audio and I found out that it's because on my dev machine, I am in strict mode and I get an error because of the line 302 fromcatpcha.php
. So I basically get the following error:In order to fix this issue and get rid of the
ErrorException
, it simply needs to be split into 2 lines of codes (instead of 1 line) with the following:an explanation could be found here on StackOverflow : Only variables should be passed by reference