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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
38 - 2 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC