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
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 10:01:27 2024 UTC