Skip to content

Conversation

@kromodoro
Copy link
Contributor

Resolves TypeError: can only concatenate str (not "_StrPath") to str in sphinxcontrib/phpdomain.py:396 by explicitly converting fullname to string before string formatting.

The add_target_and_index method was failing when fullname parameter was a _StrPath object instead of a string. Added str() conversion to ensure proper string concatenation in the error message.

Resolves TypeError: can only concatenate str (not "_StrPath") to str
in sphinxcontrib/phpdomain.py:396 by explicitly converting fullname
to string before string formatting.

The add_target_and_index method was failing when fullname parameter
was a _StrPath object instead of a string. Added str() conversion
to ensure proper string concatenation in the error message.
@markstory markstory merged commit 319d844 into markstory:master Sep 1, 2025
3 checks passed
@markstory
Copy link
Owner

Thank you 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants