Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 2 of Ticket #8760


Ignore:
Timestamp:
11/09/2022 12:17:01 AM (3 years ago)
Author:
dd32
Comment:

Just noting that this is a E_WARNING in PHP <8 too, I just missed the fact that it's changed from E_NOTICE+E_WARNING to E_NOTICE+E_ERROR in the sea of notices I was looking at :)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8760

    • Property Keywords has-patch added
    • Property Summary changed from PHP 8.1 fatal / PHP <8 notice: Trying to get property 'ancestors' of non-object to PHP 8.1 fatal / PHP <8 notice+warning: Trying to get property 'ancestors' of non-object
  • Ticket #8760 – Description

    initial v2  
    22{{{
    33E_NOTICE: Trying to get property 'ancestors' of non-object in {file}
     4E_WARNING: in_array() expects parameter 2 to be array, null given in {file}
    45
    56PHP 8.1 Fatal error: Uncaught Error: in_array(): Argument #2 ($haystack) must be of type array, null given