Cant install FreePBX because of deprecation notice

Hi, im currently in the installation of freepbx again.
In this case after the first few steps i got this error message from the ./install -n command:

In RedisCache.php line 135: Function Redis::delete() is deprecated

and,

In Process.php line 239: The command "/usr/sbin/fwconsole ma install framework" failed. Exit Code: 255(Unknown error).

If i only execute fwconsole ma install framework i get the deprecation notice error from above.
I’m using this guide: https://wiki.freepbx.org/display/FDT/How+to+Install+FreePBX+15+on+Debian+10+with+Asterisk+16,+PHP+7.3

Change delete() to del() to see if that works. Also submit a bug report.

1 Like

Idk where the RedisCache.php file is even located.

This bug report actually outlines how to fix it.

Now i only have the problem i cant execute the ./install -n command because it copys the default file again.

./amp_conf/htdocs/admin/libraries/Composer/vendor/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php

This is after you tar zxvf freepbx-15.0-latest.tgz

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.