Fatal error: class’ think \ container ‘not found. This error means that the ThinkPHP core framework warehouse is not a branch of version 5.1, so the container of version 5.1 is not found;
The solution is to execute the following command on the terminal terminal of the IDE:
composer create-project topthink/think tp 5.1.35
Starting from tp5.1, the official website no longer provides a full version download, but can only be installed through the composer method.
[invalidargumentexception] could not find package. This error means that the installation package of the corresponding version is not found. The problem in the figure below is that the version number behind 5.1 is missing. It is correct after supplement as shown in the figure above.
The program operation after correct input is as follows:
Read More:
- Mac PHP Fatal error: Class ‘Memcache’ not found
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- [Solved] Laravel admin Error: Symfony\Component\Debug\Exception\FatalThrowableError : Class ‘Doctrine\DBAL\Driver\PDOMySql\Driver’ not found
- Mac installs the php Swoole extension and appears Enable openssl support, require openssl library or fatal error:’openssl/ssl.h’ file not found
- [PHP] __autoload function will be called when class_exists does not exist
- PHP error in Windows: class’ mysqli ‘not found
- PHP Error Object of class mysqli could not be converted to string in
- laravel The Process class relies on proc_open, which is not available on your PHP installation.
- [Solved] PostgreSQL configure: error: readline library not found
- Error while injecting dependencies into App\Controller\IndexController: No entry or class found for
- How to Solve PHP Error: no package’oniguruma’ found
- [PHP] php8 jit does not support 32-bit systems WARNING: JIT not supported by host architecture
- PHP php-config is not installed error in ubuntu 16 [How to Solve]
- [WordPress Error] Fatal error undefined function is_network_admin()
- [Solved] error processing package libapache2-mod-php7.2
- [Solved] PHP Fatal error: Uncaught Elasticsearch\Common\Exceptions\NoNodesAvailableException: No alive nodes
- [Solved] Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60
- Fatal error: Function name must be a string in
- Syntax error: typeerror: about installing sass in vue3 this.getOptions is not a function