php.net |  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
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: bjmailboxfor-wp at yahoo dot com
New email:
PHP Version: OS:

 

 [2019-10-18 10:37 UTC] bjmailboxfor-wp at yahoo dot com
Description:
------------
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 bugs.php.net 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-18 10:48 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2019-10-18 10:48 UTC] cmb@php.net
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] requinix@php.net
-Status: Assigned +Status: Feedback
 [2019-10-18 18:18 UTC] requinix@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC