[wp-trac] [WordPress Trac] #35058: PHP Fatal when map_deep tries to work on an object that has a property by reference
WordPress Trac
noreply at wordpress.org
Tue Dec 15 20:59:32 UTC 2015
#35058: PHP Fatal when map_deep tries to work on an object that has a property by
reference
--------------------------+--------------------
Reporter: jeff@… | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4.1
Component: Formatting | Version: 4.4
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by jeff@…):
The patch offered above has failed my testing. If the foreach operates on
an object the assignment using the array operator will fail with fatal php
error error type: [1] Cannot use object of type [object name]as array
file: wp-includes\formatting.php line: 3897
I will work through the alternatives
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35058#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list