Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

PHP 7.4.18 Notice: Undefined property: Elastic\\Monolog\\Formatter\\ElasticCommonSchemaFormatter::$maxNormalizeDepth

Open
#33 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
observability

Research direction

Start by inspecting Elastic/Monolog/Formatter/ElasticCommonSchemaFormatter.php at line 60, where the PHP 7.4.18 notice is reported. Trace how that formatter is constructed and run the relevant formatter path under PHP 7.4.18. Done means the reported undefined-property notice is no longer emitted, with the cause and expected behavior confirmed.

Written by the indexing model from the issue text.

Description

PHP message: PHP Notice: Undefined property: Elastic\\Monolog\\Formatter\\ElasticCommonSchemaFormatter::$maxNormalizeDepth in /var/www/vendor/elastic/ecs-logging/src/Elastic/Monolog/Formatter/ElasticCommonSchemaFormatter.php on line 60

PHP 7.4.18 (cli) (built: May 3 2021 12:02:44) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.18, Copyright (c), by Zend Technologies

Dominant language
PHP
Stars
21
Forks
42
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from elastic/ecs-logging-php

All issues in elastic/ecs-logging-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.