Only variable references should be returned by reference
Only variable references should be returned by reference
搭建完Lepus監控系統後,介面提示錯誤:
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
[root@b77-11-100 lepus_v3.7]# find / -name Common.php
/opt/lampp/htdocs/system/core/Common.php
修改如下內容
return $_config[0] =& $config;
為
$_config[0] =& $config;
return $_config[0];
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28939273/viewspace-2647446/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 中出現報錯提示: ‘Variable ‘XXX‘ is a read only variable‘的解決方法MySql
- MySQL 8.0 Reference Manual(讀書筆記52節--Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions(2))MySql筆記ViewExpress
- MySQL 8.0 Reference Manual(讀書筆記51節--Optimizing Subqueries, Derived Tables, View References, and Common Table Expressions(1))MySql筆記ViewExpress
- Oracle environment variableOracle
- CSS Variable StudyCSS
- returned a non-zero code: 139
- compact (): Undefined variable: operatorUndefined
- 程式碼會引發 Notice: Undefined variable: undefined_variable 錯誤Undefined
- logseq 隱藏/hide linked reference and unlinked referenceGseIDE
- What you should know about JavaJava
- Python - ReferencePython
- Java referenceJava
- sql mysql variable autocommit (5)MySqlMIT
- The number of method references in a .dex file cannot exceed 64K.
- Cobalt Strike 4.0 Updates You Should Know
- NPM: 6.5.0-next.0 should be >= 3.0.0NPM
- Sub-process /usr/bin/dpkg returned an error codeError
- ant打包出現null returned: 1報錯Null
- GCDAsyncSocket_ReferenceGC
- Event Reference(zt)
- 大創Reference
- org.hibernate.TransientObjectException: object references an unsaved transient instance - save the tObjectException
- Spyder clear variable explorer from memory
- VirtualBox Host-only Adapter,Failed to create the host-only adapter 轉APTAI
- MongoDB server returned error on SASL authentication step: BSON field 'saslCoMongoDBServerError
- 譯|There Are No Reference Types in GoGo
- Angular 2 Forward ReferenceAngularForward
- cannot access local variable where it is not associated with a value
- mysql關於variable的總結MySql
- mysqld: Table '.mac_vod' is marked as crashed and should be repairedMySqlMacAI
- Setup had an error Error: At least one of these paths should existErrorAST
- npm run build打包報錯 npm: should be >= 3.0.0NPMUI
- React redux toolkit: Uncaught Error:[Immer] An immer producer returned a new...ReactReduxError
- WSL:Sub-process /usr/bin/dpkg returned an error code (1)Error
- Only AI Flow Can Do!AI
- CodeForces 1992A Only Pluses
- await is only valid in async functionAIFunction
- CSS E:only-of-typeCSS