织梦会员 Warning: preg_replace(): The /e modifier is no longer supported, us...
The is No ... supported replace WARNING 会员
2023-09-27 14:21:28 时间
http://php.net/manual/zh/reference.pcre.pattern.modifiers.php#reference.pcre.pattern.modifiers.eval
上面PHP网址中提到 PHP 5.5.0以后的版本对preg_replace函数运用的部分模式修饰符 /i /e /m /s /x 会出现警告,需要使用preg_replace_callback进行替换。
而我的织梦版本从PHP5.4升级到PHP7.0,所以出现问题。我这里出现警告的代码行是在函数内,我对这个函数内的函数内的参数调用外层的变量有点头疼,所以直接在出现警告的代码行前加了错误抑制符 @ 。
相关文章
- There are 2 missing blocks. The following files may be corrupted
- 【Oracle】数据库登陆错误:ORA-28000:the account is locked解决方法
- py2neo.database.ClientError: SyntaxError: The old parameter syntax `{param}` is no longer supported.
- windows之电脑开机出现 this product is covered by one or more of the following prtents
- SSM处理 No 'Access-Control-Allow-Origin' header is present on the requested resource 问题
- xxxxDao is part of xxxxDataBase but this entity is not in the database
- apscheduler报警告The localize method is no longer necessary,as this time zone supports the fold attribute (PEP 495)
- How the Microsoft Bot Framework Changed Where My Friends and I Eat: Part 1
- The server has either erred or is incapable of performing the requested operation. (HTTP 500)
- the selected server is enabled,but is not configured properly.Deployment to it will not be permitted
- zoj2132-The Most Frequent Number
- [Flink] Flink作业报错:Caused by: The connector is trying to read binlog starting at GTIDs ..., but this is no longer available on the server[转载]
- linux安装tomcat Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- 问题记录:jenkins构建时报错The goal you specified requires a project to execute but there is no POM in...
- [architecture]-ARMV8的The current Program Counter (PC)介绍
- 记录一次很坑的报错:java.lang.Exception: The class is not public.
- Dynamics CRM2013/2015 禁止欢迎界面(Disable the Welcome Screen)
- Version 1.5 of the JVM is not suitable for this product.Version:1.6 or greater is required
- Warning: The ‘kotlin-android-extensions‘ Gradle plugin is deprecated. Please use this migration【已解决】
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get m
- python Selenium is not clickable at point (855, 15). Other element would receive the click
- 【错误记录】Git 使用报错 ( error: The branch ‘feature1‘ is not fully merged. )
- 第一个springboot遇到的问题 The Bean Validation API is on the classpath but no implementation could be found
- JNLP -- the foundametal of distributed computing of Jenkins
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system.
- 连接及关闭数据库时区错误提示:The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one
- Oracle 11g 报错 ORA-28000 the account is locked