添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
CI v4.3.1 ErrorException - Printable Version
+- CodeIgniter Forums ( https://forum.codeigniter.com )
+-- Forum: CodeIgniter 4 ( https://forum.codeigniter.com/forumdisplay.php?fid=28 )
+--- Forum: CodeIgniter 4 Support ( https://forum.codeigniter.com/forumdisplay.php?fid=30 )
+--- Thread: CI v4.3.1 ErrorException ( /showthread.php?tid=86511 )
Hello everyone/anyone.
CI v4.3.1 throws exception when attempting to loop through a dataset. This has been the case for over a week now.
There's an error with Common.php on line 93.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Fatal error: Uncaught ErrorException: realpath() expects parameter 1 to be a valid path, string given in C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Common.php:93 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'realpath() expe...', 'C:\\laragon6\\www...', 93, Array) #1 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Common.php(93): realpath('\x13\x00#\xB6\t\xC5\xE6\xC9/C\xB4\xB5') #2 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Debug\Exceptions.php(524): clean_path('\x13\x00#\xB6\t\xC5\xE6\xC9/C\xB4\xB5') #3 [internal function]: CodeIgniter\Debug\Exceptions::CodeIgniter\Debug\{closure}('\x13\x00#\xB6\t\xC5\xE6\xC9/C\xB4\xB5') #4 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Debug\Exceptions.php(529): array_map(Object(Closure), Array) #5 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Debug\Exceptions.php(123): CodeIgniter\Debug\Exceptions::renderBacktrace(Array) #6 [internal function]: CodeIgniter\Debug\Exceptions->exceptio in C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Common.php on line 93
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Is there a problem with CI v4.3.1?
Help needed!
(01-28-2023, 12:12 PM) BlackBones Wrote: Hello everyone/anyone.
CI v4.3.1 throws exception when attempting to loop through a dataset. This has been the case for over a week now.
There's an error with Common.php on line 93.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Fatal error: Uncaught ErrorException: realpath() expects parameter 1 to be a valid path, string given in C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Common.php:93 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'realpath() expe...', 'C:\\laragon6\\www...', 93, Array) #1 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Common.php(93): realpath('\x13\x00#\xB6\t\xC5\xE6\xC9/C\xB4\xB5') #2 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Debug\Exceptions.php(524): clean_path('\x13\x00#\xB6\t\xC5\xE6\xC9/C\xB4\xB5') #3 [internal function]: CodeIgniter\Debug\Exceptions::CodeIgniter\Debug\{closure}('\x13\x00#\xB6\t\xC5\xE6\xC9/C\xB4\xB5') #4 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Debug\Exceptions.php(529): array_map(Object(Closure), Array) #5 C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Debug\Exceptions.php(123): CodeIgniter\Debug\Exceptions::renderBacktrace(Array) #6 [internal function]: CodeIgniter\Debug\Exceptions->exceptio in C:\laragon6\www\shayo\vendor\codeigniter4\framework\system\Common.php on line 93
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Is there a problem with CI v4.3.1?
Help needed!

What dataset do you loop bring your data sample here so it may be good to trace cause CI 4.3.1 has no error exceptions? whether you install manual or composer tell us furthermore details