• Hi

    I found in the debug log 3 notices that are thrown from s2member when I’m on PHP 7.4

    PHP Notice:  Trying to get property 'ID' of non-object in /public_html/wp-includes/link-template.php on line 440
    PHP Notice:  Trying to get property 'ID' of non-object in /public_html/wp-includes/link-template.php on line 451
    PHP Notice:  Trying to get property 'ID' of non-object in /public_html/wp-includes/link-template.php on line 404
    
    For experiments I tried with PHP 8, where I get errors:
    
    It's the same message for all 3 lines (440,451,404)
    
    

    message: “Attempt to read property \”ID\” on null”
    “_get_page_link()”
    “get_page_link()”
    “c_ws_plugin__s2member_cache::cached_page_links()”
    “c_ws_plugin__s2member_constants::constants()”
    “do_action(‘init’)”`

    Best, Filz

  • The topic ‘PHP-Warnings / Errors’ is closed to new replies.