This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

lucascube21066
lucascube21066

Found a deprecated error while trying to install the Viola theme.

Function mcrypt_get_iv_size() is deprecated
/srv/users/serverpilot/apps/healthyteeth/public/vendor/laravel/framework/src/Illuminate/Encryption/McryptEncrypter.php line 46

TYPE: Undefined
EXCEPTION
ErrorException
    {
        $key = (string) $key;

        if (static::supported($key, $cipher)) {
            $this->key = $key;
            $this->cipher = $cipher;
            $this->block = mcrypt_get_iv_size($this->cipher, MCRYPT_MODE_CBC);
        } else {
            throw new RuntimeException('The only supported ciphers are MCRYPT_RIJNDAEL_128 and MCRYPT_RIJNDAEL_256.');
        }
    }

    /**

STACK TRACE

# CALLED CODE DOCUMENT LINE
17. Illuminate\Encryption\McryptEncrypter->__construct(…) ~/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php 27
16. Illuminate\Encryption\EncryptionServiceProvider->Illuminate\Encryption{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 738
15. Illuminate\Container\Container->build(…) ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 631
14. Illuminate\Container\Container->make(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 674
13. Illuminate\Foundation\Application->make(…) ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 842
12. Illuminate\Container\Container->resolveClass(…) ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 805
11. Illuminate\Container\Container->getDependencies(…) ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 775
10. Illuminate\Container\Container->build(…) ~/vendor/laravel/framework/src/Illuminate/Container/Container.php 631
9. Illuminate\Container\Container->make(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Application.php 674
8. Illuminate\Foundation\Application->make(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 123
7. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 44
6. Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(…)
5. call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 124
4. Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(…)
3. call_user_func(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
2. Illuminate\Pipeline\Pipeline->then(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 122
1. Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 87
0. Illuminate\Foundation\Http\Kernel->handle(…) ~/index.php 43

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.