[wp-trac] [WordPress Trac] #37071: PHP 7.1.0 changed how they handle string vs array-indexes.
WordPress Trac
noreply at wordpress.org
Mon Jun 13 02:06:46 UTC 2016
#37071: PHP 7.1.0 changed how they handle string vs array-indexes.
--------------------------+-----------------------------
Reporter: simonvik | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.6
Component: Users | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by dd32):
From #37083:
{{{
[Mon Jun 13 00:24:29 2016] PHP Warning: Illegal string offset 'remember'
in /tmp/wordpress/wp-includes/user.php on line 41
[Mon Jun 13 00:24:29 2016] PHP Stack trace:
[Mon Jun 13 00:24:29 2016] PHP 1. {main}() /tmp/wordpress/router.php:0
[Mon Jun 13 00:24:29 2016] PHP 2. require_once()
/tmp/wordpress/router.php:51
[Mon Jun 13 00:24:29 2016] PHP 3. wp_signon() /tmp/wordpress/wp-
login.php:784
[Mon Jun 13 00:24:29 2016] PHP Warning: Cannot assign an empty string to a
string offset in /tmp/wordpress/wp-includes/user.php on line 41
[Mon Jun 13 00:24:29 2016] PHP Stack trace:
[Mon Jun 13 00:24:29 2016] PHP 1. {main}() /tmp/wordpress/router.php:0
[Mon Jun 13 00:24:29 2016] PHP 2. require_once()
/tmp/wordpress/router.php:51
[Mon Jun 13 00:24:29 2016] PHP 3. wp_signon() /tmp/wordpress/wp-
login.php:784
[Mon Jun 13 00:24:29 2016] PHP Warning: Illegal string offset 'user_login'
in /tmp/wordpress/wp-includes/user.php on line 56
[Mon Jun 13 00:24:29 2016] PHP Stack trace:
[Mon Jun 13 00:24:29 2016] PHP 1. {main}() /tmp/wordpress/router.php:0
[Mon Jun 13 00:24:29 2016] PHP 2. require_once()
/tmp/wordpress/router.php:51
[Mon Jun 13 00:24:29 2016] PHP 3. wp_signon() /tmp/wordpress/wp-
login.php:784
[Mon Jun 13 00:24:29 2016] PHP Fatal error: Uncaught Error: Cannot create
references to/from string offsets in /tmp/wordpress/wp-
includes/user.php:56
}}}
Moved here as it's all related.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37071#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list