{"record":{"id":"a62de3a23eea2389","repo":"Seldaek/monolog","slug":"the-openssl-php-extension-is-required-to-use-the-f-a62de3","errorCode":null,"errorMessage":"The OpenSSL PHP extension is required to use the FlowdockHandler","messagePattern":"The OpenSSL PHP extension is required to use the FlowdockHandler","errorType":"exception","errorClass":"MissingExtensionException","httpStatus":null,"severity":"error","filePath":"src/Monolog/Handler/FlowdockHandler.php","lineNumber":50,"sourceCode":"class FlowdockHandler extends SocketHandler\n{\n    protected string $apiToken;\n\n    /**\n     * @throws MissingExtensionException if OpenSSL is missing\n     */\n    public function __construct(\n        string $apiToken,\n        $level = Level::Debug,\n        bool $bubble = true,\n        bool $persistent = false,\n        float $timeout = 0.0,\n        float $writingTimeout = 10.0,\n        ?float $connectionTimeout = null,\n        ?int $chunkSize = null\n    ) {\n        if (!\\extension_loaded('openssl')) {\n            throw new MissingExtensionException('The OpenSSL PHP extension is required to use the FlowdockHandler');\n        }\n\n        parent::__construct(\n            'ssl://api.flowdock.com:443',\n            $level,\n            $bubble,\n            $persistent,\n            $timeout,\n            $writingTimeout,\n            $connectionTimeout,\n            $chunkSize\n        );\n        $this->apiToken = $apiToken;\n    }\n\n    /**\n     * @inheritDoc\n     */","sourceCodeStart":32,"sourceCodeEnd":68,"githubUrl":"https://github.com/Seldaek/monolog/blob/57eb1028342134e701e77c617565d51b6e5a2a53/src/Monolog/Handler/FlowdockHandler.php#L32-L68","documentation":"Error \"The OpenSSL PHP extension is required to use the FlowdockHandler\" thrown in Seldaek/monolog.","triggerScenarios":"Thrown at src/Monolog/Handler/FlowdockHandler.php:50 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"57eb1028342134e701e77c617565d51b6e5a2a53","analyzedAt":"2026-08-17T02:36:30.259Z","schemaVersion":2},"datasetVersion":"2026-08-17T04:17:16.089Z"}