You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X-Powered-By: PHP/8.2.0
Content-type: text/html; charset=UTF-8
<br />
<b>Fatal error</b>: Uncaught Error: Class "Monolog\Logger" not found in /program:4
Stack trace:
#0 {main}
thrown in <b>/program</b> on line <b>4</b><br />
I tried to use the PHP scandir function to check the directory under '/vendor', and it did have the necessary files under it.
Hope someone can look into it. thanks a lot, that's really a cool project.
The text was updated successfully, but these errors were encountered:
Background
I am running a PHP demo with PHP runtime with composer dependencies. I found it cannot handle autoload correctly.
How to reproduce.
I can recreate this issue by the following steps. (using this demo: https://getcomposer.org/doc/01-basic-usage.md#autoloading)
runno-run
web component to bootstrap the PHP runtime with fsI got the following error message:
I tried to use the PHP
scandir
function to check the directory under '/vendor', and it did have the necessary files under it.Hope someone can look into it. thanks a lot, that's really a cool project.
The text was updated successfully, but these errors were encountered: