openemr icon indicating copy to clipboard operation
openemr copied to clipboard

在日历中进行搜索的时候会报错

Open dpfei opened this issue 1 year ago • 1 comments

Describe the bug

报错内容如下:

  1. Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in E:\study\openemr-7.0.2\interface\main\calendar\modules\PostCalendar\pnuser.php on line 367
  2. Warning: Undefined variable $viewtype in E:\study\openemr-7.0.2\interface\main\calendar\modules\PostCalendar\pnuserapi.php on line 1280

以上两条报错是我本地部署搜索的时候报错,PHP版本为:8.2.9 nts

望修复

dpfei avatar Nov 24 '23 02:11 dpfei

@dpfei Please everyone. When opening an issue it is important to maintainers to report version, OS and browser environment the error occurs in. PHP 8.2 has not been fully tested in current 7.0.2 release and not supported in prior releases. However in this case and as per our installation instructions, deprecated error reporting should be turned off in php.ini. Please test and report back

sjpadgett avatar Nov 24 '23 16:11 sjpadgett