设为首页
收藏本站
切换到宽版
登录
注册
找回密码
搜索
搜索
本版
帖子
用户
快捷导航
首页
科学资讯
SCI期刊
中文期刊
科学基金
科学笔记
科学群组
科学群组
科学文库
科学家园
科学图片
查询
相册
Album
问卷调查
爱科学
»
文库
›
生活应用
›
网站技术
›
php7.4报错Warning: Use of undefined constant userid ...
返回列表
查看:
772
|
回复:
0
php7.4报错Warning: Use of undefined constant userid - assumed 'userid'
[复制链接]
admin
admin
当前离线
积分
5369
610
主题
413
回帖
77
日志
管理员
积分
5369
收听TA
发消息
发表于 2024-5-18 15:35:16
|
显示全部楼层
|
阅读模式
错误:Warning: Use of undefined constant userid - assumed 'userid' (this will throw an Error in a future version of PHP)
解决办法:解决此种问题也不难,只是报了”Warning警告“,只需要关闭”PHP错误提示“就行了。步骤如下:
1、打开 php.ini
2、设置 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
3、设置 display_errors = Off
php
相关帖子
•
500错误Deprecated: Function eregi() is deprecated in
•
php中使用定界符EOF
•
php问题:无法将 FastCGI 进程放入 JobObject 中
•
iis7配置php出现fastcgi的500错误,LocalSystem/LocalService/NetworkService/Applica
•
PHP Warning: file_exists(): open_basedir restriction in effect. File(C:\Windows
•
php7.4帝国CMS报错Deprecated: Function get_magic_quotes_gpc
上士闻道,勤而行之;中士闻道,若存若亡;下士闻道,大笑之。不笑不足以为道!
回复
关闭延时
使用道具
举报
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
立即注册
本版积分规则
发表回复
回帖并转播
回帖后跳转到最后一页
扫码关注爱科学公众号
快速回复
返回顶部
返回列表