Call to undefined function Illuminate\\Encryption\\openssl_cipher_iv_length()
I am trying to send AJAX with jQuery but I get:
test.ERROR: Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length() {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length() at C:\inetpub\my-site\vendor\laravel\framework\src\Illuminate\Encryption\Encrypter.php:214)
I checked with phpinfo() and openssl shows there and enabled. the extension dll file exists in php/ext
I tried restarting the server.
I can't run composer comands (so will need to try do it manually if it can solve the issue)
This is how my AJAX look like (works on local dev pc):
var jqxhr = $.ajax({
method: "POST",
url: "/my-site/post-url",
data: data
})
.done(function (data) {
alert('Success');
})
.fail(function () {
alert('Error');
});
What could cause that?
Please or to participate in this conversation.