Only DEFAULT ACL is working

After fresh installation of 1.4.7 only Default acl is working for all user, When i am assign Broadcast acl to any user it gives error as below:

2024/06/19 19:00:15 [error] 2369#2369: *3038 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /home/mydir/public_html/plugin/core/acl/fn.php:231
Stack trace:
#0 /home/mydir/public_html/plugin/core/acl/fn.php(231): strpos()
#1 /home/mydir/public_html/plugin/core/auth/fn.php(305): acl_checkurl()
#2 /home/mydir/public_html/plugin/core/auth/login.php(79): auth_isvalid()
#3 /home/mydir/public_html/inc/app/main.php(33): include_once('...')
#4 /home/mydir/public_html/index.php(34): include('...')
#5 {main}
  thrown in /home/mydir/public_html/plugin/core/acl/fn.php on line 231" while reading response header from upstream, client: xx.xx.xx.xx, server: example.com.jp, request: "POST /index.php?app=main&inc=core_auth&route=login&op=login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "example.com.jp", referrer: "https://example.com.jp/index.php?app=main&inc=core_auth&route=login"

The line is : $pos = strpos($url, $acl_url);

HTTP ERROR 500, and user is unable to login even admin cannot login from view user dashboard.

I am using nginx with php 8.3.8, mysql in centos 7

Any help please, it is my production server, previously it was running fine with 1.4.6.

Hi,

This issue has been fixed in upcoming release.

See code changes activities here:

And next release version 1.4.8 will be announced here:

anton

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