Skip to content

warning notification #190

Open
Open

Description

@ManueldG

phd -d ../base/.manual.xml -P PHP -f xhtml

output:
[13:57:23 - Indexing ] Skipping indexing
[13:57:23 - Rendering Style ] Running full build
[13:57:23 - Rendering Format ] Starting PHP-Chunked-XHTML rendering
[13:59:26 - E_WARNING ] phd\phpdotnet\phd\Format\Abstract\XHTML.php:42
Array to string conversion
[13:59:26 - E_WARNING ] phd\phpdotnet\phd\Format\Abstract\XHTML.php:42
Array to string conversion
[13:59:26 - E_USER_WARNING ] phd\phpdotnet\phd\Format\Abstract\XHTML.php:42
No mapper found for 'package'
[13:59:28 - Rendering Format ] Writing search indexes..
[13:59:28 - Rendering Format ] Index written
[13:59:28 - Rendering Format ] Finished rendering
The file, directory, or volume name syntax is incorrect.

Activity

  1. haszi commented on Nov 15, 2025

    @haszi
    Contributor

    This is a tough one. The line referred to in three of the error messages is getting its value passed in from XMLReader which (according to php-src) is always supposed to be a string. I'm not sure where to start here.

  2. alfsb commented on Nov 17, 2025

    @alfsb
    Member

    Cannot reproduce these warnings on PHP 8.1.2-1ubuntu2.22 (cli) (built: Jul 15 2025 12:11:22) (NTS).

    But, got an

    [11:50:21 - E_USER_WARNING        ] /home/andre/phpdoc-test/phd/phpdotnet/phd/Format/Abstract/XHTML.php:45
    No mapper found for 'package'
    

    That can possibly be version independent.

    Note that the <package> tag was mentioned recently.

  3. haszi commented on Dec 12, 2025

    @haszi
    Contributor

    @ManueldG Could you try to update your manual, doc-base and phd repos to the latest and try again?

    I could not reproduce this on Debian or Windows and could use more details on the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions