Skip to content

Invoking wp i18n make-pot fails when Xdebug is enabled #80

@westonruter

Description

@westonruter

In VVV after having done xdebug_on and run:

wp i18n make-pot . languages/amp-js.pot --include="*.js"

I get an error:

PHP Fatal error:  Maximum function nesting level of '100' reached, aborting! in phar:///usr/local/bin/wp/vendor/mck89/peast/lib/Peast/Syntax/Scanner.php on line 972

If I do xdebug_off then it succeeds.

The plugin context here is AMP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions