Skip to content

Crashes with PHP files #9

@alexbet

Description

@alexbet

I am having a problem with the linter. It seems to crash with PHP files when there is PHP code in the files. Here is the latest error that I got.

`SublimeLinter: #59 htmlhint routes.php ERROR:

Linter crashed.

Traceback (most recent call last):
File "lint.backend in /Users/AlexBet/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 100, in execute_lint_task
File "lint.linter in /Users/AlexBet/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter.sublime-package", line 777, in lint
File "linter in /Users/AlexBet/Library/Application Support/Sublime Text 3/Installed Packages/SublimeLinter-contrib-htmlhint.sublime-package", line 38, in find_errors
File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 215, in decode_value
raise ValueError(err)
ValueError: Error trying to decode value: Unexpected character, expected a comma or closing bracket in (data):1:65538`

This happened when I opened a PHP file which has all PHP code, no HTML code at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions