Cannot assign an empty string to a string offset

后端 未结 4 567
走了就别回头了
走了就别回头了 2021-01-21 02:33

I\'ve just installed PHP 7.1 and now I am seeing this error :

PHP Warning:  Cannot assign an empty string to a string offset in /postfixadmin/variables.inc.php o         


        
4条回答
  •  梦谈多话
    2021-01-21 03:00

    It's because you want to unset a string at the first element. just use substr($fDomains, 1);

提交回复
热议问题