Support » Plugin: Sidebar Login » PHP 7.2 sizeof(): Parameter must be an array or an object …

  • Line 213 of class-sidebar-login-widget.php should be changed from this:

    
    if ( ! empty( $links ) && is_array( $links ) && sizeof( $links > 0 ) ) {
    

    to this:

    
    if ( ! empty( $links ) && is_array( $links ) && count( $links ) > 0 ) {
    
    • This topic was modified 5 months, 1 week ago by  KTS915.
    • This topic was modified 5 months, 1 week ago by  KTS915.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.