php Errors

102 entries

Error Code Domain Category Fix Rate Confidence Tier
Fatal error: Uncaught Error: Class 'App\Service\MyService' not found in /var/www/app/src/Controller/MainController.php:15 php autoloading 90% 92% ai_generated
Fatal error: Maximum function nesting level of 'X' reached, aborting! php recursion_error 86% 88% ai_generated
Fatal error: Uncaught Error: Call to undefined function someFunction() php runtime 90% 91% ai_generated
Fatal error: Cannot declare class App\Service\ServiceA, because the name is already in use in /var/www/app/src/Service/ServiceA.php on line 5 php autoloading 85% 88% ai_generated
Fatal error: Uncaught Error: Class "App\SomeClass" not found php autoloading 92% 90% ai_generated
Fatal error: Uncaught Error: Class 'App\Models\X' not found php autoload_error 93% 91% ai_generated
Class 'App\Services\PaymentService' not found in vendor/composer/ClassLoader.php php autoloading 93% 92% ai_generated
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires package/name ^2.0 -> satisfiable by package/name[2.0.0] - package/name 2.0.0 requires other/dep ^3.0 -> found other/dep[3.0.0] but it conflicts with your root composer.json require (^2.0) php dependency_management 82% 85% ai_generated
cURL error 7: Failed to connect to host port: Connection refused php network_error 85% 85% ai_generated
cURL error 60: SSL certificate problem: unable to get local issuer certificate php networking 88% 90% ai_generated
cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received php network 82% 85% ai_generated
SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction php database 83% 87% ai_generated
Deprecated: Function utf8_encode() is deprecated in /var/www/app/src/Utils/Encoder.php on line 42 php deprecation 92% 93% ai_generated
Warning: POST Content-Length of 15728640 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 php configuration 93% 95% ai_generated
WARNING: [pool www] server reached pm.max_children setting (5), consider raising it php runtime 85% 88% ai_generated
Fatal error: Uncaught Error: Call to undefined function imagecreatetruecolor() in /var/www/app/src/Image/Processor.php:28 php extension 95% 96% ai_generated
Warning: Cannot modify header information - headers already sent by (output started at /path/file.php:X) php output_error 94% 93% ai_generated
Fatal error: Uncaught Error: Class 'IntlDateFormatter' not found in /var/www/app/src/Locale/DateHelper.php:12 php extension 93% 94% ai_generated
json_decode(): Argument #1 ($json) must be of type string, null given / JSON_ERROR_SYNTAX: Syntax error ERROR php data_parsing 89% 90% ai_generated
json_decode(): Maximum stack depth exceeded php data_processing 88% 90% ai_generated
Illuminate\Contracts\Container\BindingResolutionException: Target class [X] does not exist php dependency_injection 92% 90% ai_generated
Illuminate\Session\TokenMismatchException: CSRF token mismatch. (419 Page Expired) php framework_laravel 90% 91% ai_generated
Illuminate\Database\QueryException: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists php framework_laravel 85% 87% ai_generated
Illuminate\Database\Eloquent\ModelNotFoundException: No query results for model [App\Models\User] 42 php framework_laravel 93% 93% ai_generated
Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\ProcessOrder has been attempted too many times or run too long php framework_laravel 84% 86% ai_generated
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: The route could not be found. php framework_laravel 91% 90% ai_generated
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() php network 87% 89% ai_generated
Fatal error: Maximum execution time of 30 seconds exceeded php execution 87% 89% ai_generated
Warning: mb_convert_encoding(): Unable to detect character encoding in /var/www/app/src/Utils/StringHelper.php on line 34 php encoding 84% 86% ai_generated
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) php memory 88% 91% ai_generated
Warning: Zend OPcache huge_code_pages: madvise(HUGEPAGE) failed: Cannot allocate memory / OPcache restart scheduled EPAGE php opcode_cache 85% 87% ai_generated
Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in /var/www/app/src/Auth/JwtValidator.php:45 php security 85% 88% ai_generated
Warning: preg_match(): Backtrack limit was exhausted in /var/www/app/src/Parser/HtmlParser.php on line 67 php regex 83% 86% ai_generated
PDOException: SQLSTATE[HY000] [2002] Connection refused php database 86% 88% ai_generated
ErrorException: file_put_contents(/var/www/html/storage/logs/laravel.log): Failed to open stream: Permission denied php filesystem 92% 93% ai_generated
Trying to access array offset on null php type_error 91% 92% ai_generated
RedisException: read error on connection to 127.0.0.1:6379 php database 86% 88% ai_generated
Segmentation fault (core dumped) in /usr/lib/php/20230831/some_extension.so php extension_crash 75% 80% ai_generated
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) php session 86% 88% ai_generated
SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.example.com/service?wsdl' : failed to load external entity ERROR php network 82% 85% ai_generated
Warning: spl_autoload_register(): Argument #1 ($callback) must be a valid callback, function 'my_autoloader' not found or invalid function name php autoloading 88% 90% ai_generated
Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (US/Pacific-New) in /var/www/app/src/Utils/DateHelper.php:18 php datetime 92% 94% ai_generated
PDOException: SQLSTATE[HY000] [1040] Too many connections php database_error 87% 89% ai_generated
TypeError: Argument #1 ($param) must be of type string, null given php type_system 91% 92% ai_generated
Warning: Undefined variable $variableName php runtime_warning 95% 94% ai_generated
Warning: simplexml_load_string(): Entity: line 42: parser error : StartTag: invalid element name in /var/www/app/src/Parser/XmlProcessor.php on line 28 php data_processing 84% 87% ai_generated
ZipArchive::open(): open failed: No such file or directory in /var/www/app/src/Export/ZipExporter.php on line 15 php filesystem 90% 92% ai_generated
Warning: PHP Startup: Unable to allocate memory for interned strings buffer in Unknown on line 0 php system_error 82% 85% ai_generated
PDOException: SQLSTATE[HY000] [2006] MySQL server has gone away in /var/www/app/src/Database/Connection.php:42 2006 php network_error 85% 88% ai_generated
Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in /var/www/app/src/Auth/JwtValidator.php:34 php auth_error 83% 86% ai_generated
cURL error 77: Problem with reading SSL certificate (path: /etc/ssl/certs/ca-certificates.crt) in /var/www/app/src/Http/Client.php:28 77 php config_error 90% 87% ai_generated
Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\ProcessOrder has been attempted too many times or run too long. The job may have previously timed out. php resource_error 78% 84% ai_generated
Symfony\Component\Serializer\Exception\CircularReferenceException: A circular reference has been detected (configured limit: 1) in /var/www/app/src/Controller/ApiController.php:56 php runtime_error 88% 86% ai_generated
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '[email protected]' for key 'users_email_unique' 1062 php data_error 85% 90% ai_generated
Warning: session_start(): Cannot start session when headers already sent in /var/www/app/src/Controller/AuthController.php on line 23 php runtime_error 90% 87% ai_generated
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires php ^8.0 but your php version (7.4.33) does not satisfy that requirement. php install_error 95% 89% ai_generated
Warning: stream_wrapper_register(): Protocol 's3' is already defined in /var/www/app/src/Storage/S3Wrapper.php on line 25 E_WARNING php runtime_error 90% 82% ai_generated
ZipArchive::extractTo(): Failed to extract zip archive '/tmp/upload_abc123.zip': ZipArchive::ER_CRC error in /var/www/app/src/Import/ZipImporter.php on line 42 ZipArchive::ER_CRC php data_error 70% 87% ai_generated
PDOException: SQLSTATE[HY000] [2013] Lost connection to MySQL server during query in /var/www/app/src/Database/QueryBuilder.php on line 78 2013 php network_error 80% 86% ai_generated
Warning: mb_convert_encoding(): Illegal character encoding specified in /var/www/app/src/Utils/TextCleaner.php on line 15 E_WARNING php encoding_error 90% 83% ai_generated
PHP Fatal error: Interned strings buffer overflow in /var/www/html/index.php on line 0 php system_error 88% 85% ai_generated
Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (2024-01-15 25:00:00) at position 11 (2): Unexpected character in /var/www/app/src/Utils/DateParser.php on line 23 php runtime_error 92% 82% ai_generated
Warning: sodium_crypto_sign_secretkey(): Argument #1 ($key_pair) must be an opaque key pair (SODIUM_CRYPTO_SIGN_KEYPAIR) in /var/www/app/src/Auth/Ed25519Signer.php on line 34 php type_error 85% 83% ai_generated
PHPUnit 10.5.20 by Sebastian Bergmann and contributors. Runtime: PHP 8.2.17 Configuration: /var/www/app/phpunit.xml Warning - The data provider specified for Tests\Unit\OrderTest::testDiscount is invalid. Data Provider method Tests\Unit\OrderTest::discountProvider() is not callable or does not return an array of arrays. php test_error 90% 84% ai_generated
PDOException: SQLSTATE[IM002] SQLDriverConnect: 0 [unixODBC][Driver Manager]Data source name not found, and no default driver specified in /var/www/app/src/Database/OdbcConnector.php on line 21 IM002 php config_error 87% 86% ai_generated
Warning: stream_wrapper_register(): class 'App\Storage\CustomStream' does not exist in /var/www/app/src/Storage/StreamManager.php on line 10 php runtime_error 88% 81% ai_generated
PHPUnit 10.5: SnapshotAssertionFailedException: Snapshot "tests/__snapshots__/UserProfileTest__test_render__1.snap" does not match the expected snapshot. Use --update-snapshots to update. php test_error 85% 85% ai_generated
Fatal error: Uncaught Error: Class 'Imagick' not found in /var/www/app/src/Image/ThumbnailGenerator.php:25 php install_error 90% 88% ai_generated
Warning: opcache_invalidate(): No such file or directory in /var/www/app/src/Cache/OpcacheManager.php:15 php runtime_error 75% 82% ai_generated
Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\ProcessVideo has been attempted too many times or run too long. The job may have previously timed out. php runtime_error 80% 86% ai_generated
Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 42 in /var/www/app/src/Parser/HtmlSanitizer.php:18 php encoding_error 78% 83% ai_generated
Warning: Zend OPcache huge_code_pages: madvise(HUGEPAGE) failed: Cannot allocate memory in Unknown on line 0 E_WARNING php system_error 90% 85% ai_generated
PDOException: SQLSTATE[HY000] [2002] Connection timed out in /var/www/app/src/Database/Connection.php:48 2002 php network_error 85% 88% ai_generated
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/app/src/Utils/Parser.php:23 E_ERROR php type_error 85% 90% ai_generated
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires PHP extension ext-gd * but it is missing from your system. Install or enable PHP's gd extension. php install_error 90% 87% ai_generated
Warning: openssl_verify(): Supplied key param cannot be coerced into a public key in /var/www/app/src/Auth/JwtValidator.php on line 42 E_WARNING php auth_error 90% 88% ai_generated
SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746 08001 php network_error 82% 88% ai_generated
Warning: Ambiguous class resolution, "App\Models\User" was found in both "/var/www/app/src/Models/User.php" and "/var/www/app/src/Models/Admin/User.php" php build_error 88% 85% ai_generated
Warning: openssl_encrypt(): IV passed is 16 bytes long which is longer than the 8 bytes expected by selected cipher, truncating in /var/www/app/src/Crypto/Encryptor.php on line 23 php runtime_error 90% 87% ai_generated
Fatal error: Uncaught ImagickException: Unsupported image format /tmp/phpXXXXXX in /var/www/app/src/Image/Converter.php:12 php runtime_error 80% 86% ai_generated
Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("id") to generate a URL for route "user_profile" in /var/www/app/src/Controller/UserController.php:34 php runtime_error 92% 89% ai_generated
Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendNotification has been attempted too many times or run too long. The job may have been previously processed by a worker that was forcefully terminated. php runtime_error 85% 88% ai_generated
PHPUnit\Framework\MockObject\RuntimeException: Trying to configure a method "getUser" that does not exist on mock class "App\Service\UserService" php test_error 90% 88% ai_generated
GuzzleHttp\Exception\ConnectException: cURL error 1: Protocol "http2" not supported or disabled in libcurl (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in /var/www/app/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:187 1 php protocol_error 85% 85% ai_generated
Warning: openssl_random_pseudo_bytes(): Seed could not be generated in /var/www/app/src/Security/TokenGenerator.php on line 23 php system_error 80% 82% ai_generated
Doctrine\ORM\Mapping\MappingException: Duplicate column definition 'created_at' detected in entity 'App\Entity\Order' php config_error 90% 85% ai_generated
Symfony\Component\Process\Exception\ProcessTimedOutException: The process "'php' 'artisan' 'queue:work' '--queue=high,default' '--timeout=60'" exceeded the timeout of 60 seconds. php system_error 85% 85% ai_generated
Warning: mysqli::__construct(): (HY000/2002): Connection timed out in /var/www/app/src/Database/Connection.php:15 HY000/2002 php network_error 80% 85% ai_generated
Warning: Opcache: Cannot revalidate file '/var/www/app/index.php' - stat failed in Unknown on line 0 php system_error 85% 88% ai_generated
Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14094458:SSL routines:ssl3_read_bytes:tlsv1 unrecognized name in /var/www/app/src/Mailer/SmtpTransport.php:25 14094458 php protocol_error 82% 87% ai_generated
Fatal error: Uncaught Error: Cannot use 'App\Models\User' as a trait in /var/www/app/src/Models/Admin.php:10 php type_error 95% 83% ai_generated
Warning: session_start(): Session GC failed in /var/www/app/src/Session/SessionManager.php:35 php system_error 80% 86% ai_generated
Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active in /var/www/app/src/Repository/UserRepository.php:22 HY000/2014 php protocol_error 85% 89% ai_generated
Warning: openssl_private_decrypt(): key parameter is not a valid private key in /var/www/app/src/Crypto/Decryptor.php on line 34 php runtime_error 82% 85% ai_generated
SoapFault exception: [HTTP] Error Fetching http headers in /var/www/app/src/Integrations/SoapClient.php:25 php network_error 78% 83% ai_generated
PDOException: SQLSTATE[HY000]: General error: 2053 SQLSTATE[HY000]: General error: 2053 when fetching data from table 'orders' with column 'total_amount' in /var/www/app/src/Repository/OrderRepository.php:42 2053 php data_error 76% 81% ai_generated
Warning: PHP Startup: Unable to allocate interned strings buffer: 2097152 bytes in Unknown on line 0 php system_error 90% 88% ai_generated
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/app/src/Utils/DateHelper.php on line 10 php config_error 95% 90% ai_generated
Warning: mysqli::set_charset(): Couldn't fetch mysqli in /var/www/app/src/Database/MysqliConnection.php on line 22 php runtime_error 80% 84% ai_generated
ZipArchive::extractTo(): Failed to extract zip archive '/tmp/upload_abc123.zip': ZipArchive::ER_CRC error in /var/www/app/src/Export/ZipExporter.php on line 22 php data_error 75% 84% ai_generated
RedisException: read error on connection to 127.0.0.1:6379 in /var/www/app/src/Cache/RedisCache.php:15 php network_error 80% 85% ai_generated
Warning: mb_convert_encoding(): Illegal character encoding specified in /var/www/app/src/Utils/TextCleaner.php on line 18 php encoding_error 90% 86% ai_generated