php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81221 Rendering docs with fresh clones results in a bunch of SQLite errors on 8
Submitted: 2021-07-03 20:41 UTC Modified: 2021-07-15 19:06 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tiffany@php.net Assigned: tiffany (profile)
Status: Closed Package: Doc Build problem
PHP Version: 8.0.8 OS: Windows 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tiffany@php.net
New email:
PHP Version: OS:

 

 [2021-07-03 20:41 UTC] tiffany@php.net
Description:
------------
I believe this issue only occurs when attempting to render the docs on PHP 8 on Windows 10, as the docs render fine on 7.4.0. I've tried with PHP 8.0.0 and PHP 8.0.8.

I've freshly cloned doc-en, doc-base and phd locally.

Following the instructions from http://doc.php.net/tutorial/local-setup.php, when I attempt to run `php /tmp/phd/render.php --docbook /tmp/git/doc-en/doc-base/.manual.xml --package PHP --format php`, I receive dozens or hundreds of SQLite errors:

        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given
[19:50:15 - E_WARNING             ] D:\projects\php-docs\doc-en\phd\phpdotnet\p
hd\Format.php:146
        phpdotnet\phd\Format::SQLiteChildren(): Argument #1 ($context) must be
passed by reference, value given



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-07-15 19:06 UTC] tiffany@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: tiffany
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon May 23 15:05:45 2022 UTC