Hello All,

Solved this issue by downgrading from PHP8.1 to PHP7.4.



On Wed, Dec 14, 2022 at 5:01 PM Nitesh Divecha <aviator.nites...@gmail.com>
wrote:

> Hello All,
>
> I'm setting up a fresh install and running into issues with OpenSIPS
> Control Panel 9.3.2.
>
> System specs:
> Ubuntu 22.04.1 LTS
> OpenSIPS 3.3.2
> OpenSIPS Control Panel (
> https://github.com/OpenSIPS/opensips-cp/archive/9.3.2.zip)
>
> CP was installed successfully and I was able to login with user/pass but
> when I click on (Users -> User management or Alias management) or any
> (System -> Address, etc) it throws PHP exceptions:
>
> [Wed Dec 14 21:49:29.216426 2022] [php:error] [pid 32857] [client
> 10.0.0.34:57311] PHP Fatal error:  Uncaught Error: Attempt to assign
> property "user_management" on null in
> /var/www/html/opensips-cp/config/tools/users/user_management/settings.inc.php:25\nStack
> trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
> require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
> get_params_from_tool()\n#2
> /var/www/html/opensips-cp/web/common/cfg_comm.php(332):
> session_load_from_tool()\n#3
> /var/www/html/opensips-cp/web/tools/users/user_management/template/header.php(32):
> session_load()\n#4
> /var/www/html/opensips-cp/web/tools/users/user_management/user_management.php(24):
> require('...')\n#5 {main}\n  thrown in
> /var/www/html/opensips-cp/config/tools/users/user_management/settings.inc.php
> on line 25, referer: http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057497 2022] [php:warn] [pid 32858] [client
> 10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057553 2022] [php:warn] [pid 32858] [client
> 10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057564 2022] [php:warn] [pid 32858] [client
> 10.0.0.34:57323] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:47.057629 2022] [php:error] [pid 32858] [client
> 10.0.0.34:57323] PHP Fatal error:  Uncaught Error: Attempt to assign
> property "alias_management" on null in
> /var/www/html/opensips-cp/config/tools/users/alias_management/settings.inc.php:24\nStack
> trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
> require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
> get_params_from_tool()\n#2
> /var/www/html/opensips-cp/web/common/cfg_comm.php(332):
> session_load_from_tool()\n#3
> /var/www/html/opensips-cp/web/tools/users/alias_management/template/header.php(33):
> session_load()\n#4
> /var/www/html/opensips-cp/web/tools/users/alias_management/alias_management.php(24):
> require('...')\n#5 {main}\n  thrown in
> /var/www/html/opensips-cp/config/tools/users/alias_management/settings.inc.php
> on line 24, referer: http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209761 2022] [php:warn] [pid 32859] [client
> 10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209814 2022] [php:warn] [pid 32859] [client
> 10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209821 2022] [php:warn] [pid 32859] [client
> 10.0.0.34:57330] PHP Warning:  Undefined array key "nodes" in
> /var/www/html/opensips-cp/config/boxes.load.php on line 50, referer:
> http://10.0.0.200/cp/menu.php
> [Wed Dec 14 21:49:52.209920 2022] [php:error] [pid 32859] [client
> 10.0.0.34:57330] PHP Fatal error:  Uncaught Error: Attempt to assign
> property "addresses" on null in
> /var/www/html/opensips-cp/config/tools/system/addresses/settings.inc.php:24\nStack
> trace:\n#0 /var/www/html/opensips-cp/web/common/cfg_comm.php(203):
> require()\n#1 /var/www/html/opensips-cp/web/common/cfg_comm.php(340):
> get_params_from_tool()\n#2
> /var/www/html/opensips-cp/web/common/cfg_comm.php(332):
> session_load_from_tool()\n#3
> /var/www/html/opensips-cp/web/tools/system/addresses/template/header.php(32):
> session_load()\n#4
> /var/www/html/opensips-cp/web/tools/system/addresses/address.php(24):
> require('...')\n#5 {main}\n  thrown in
> /var/www/html/opensips-cp/config/tools/system/addresses/settings.inc.php on
> line 24, referer: http://10.0.0.200/cp/menu.php
>
> Any thoughts or suggestions?
>
> Thanks in advance.
>
> Cheers,
> Nitesh
>
>
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to