|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78686 Narrowing occurred during type inference
Submitted: 2019-10-18 10:37 UTC Modified: 2019-10-27 04:22 UTC
From: bjmailboxfor-wp at yahoo dot com Assigned: cmb (profile)
Status: No Feedback Package: Unknown/Other Function
PHP Version: 7.2Git-2019-10-18 (snap) OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-10-18 10:37 UTC] bjmailboxfor-wp at yahoo dot com
Sometimes when I open the homepage of my Wordpress site I got the following error displayed at the very begining of my page, before the content is shown:

Warning: Narrowing occurred during type inference. Please file a bug report on in /app/public/wp-settings.php on line 362
Call Stack
#	Time	Memory	Function	Location
1	0.0020	398520	{main}( )	.../index.php:0
2	0.0089	398864	require( '/app/public/wp-blog-header.php' )	.../index.php:17
3	0.0130	399776	require_once( '/app/public/wp-load.php' )	.../wp-blog-header.php:13
4	0.0165	400576	require_once( '/app/public/wp-config.php' )	.../wp-load.php:37
5	0.0259	402576	require_once( '/app/public/wp-settings.php' )	.../wp-config.php:135

If I refresh the page or I open the same URL on another browser the the error disapears.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-18 10:48 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2019-10-18 10:48 UTC]
Which PHP version do you use?  
(I consider it unlikely that you're using a Git snapshot in production.)
 [2019-10-18 18:07 UTC] bjmailboxfor-wp at yahoo dot com
-Status: Feedback +Status: Assigned
 [2019-10-18 18:07 UTC] bjmailboxfor-wp at yahoo dot com
My PHP version is 7.2.0
 [2019-10-18 18:18 UTC]
-Status: Assigned +Status: Feedback
 [2019-10-18 18:18 UTC]
7.2.0 was released nearly two years ago. Please update to the latest version, currently 7.2.23, and try again.
 [2019-10-27 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 17:01:23 2023 UTC