Support » Plugin: Theme My Login » Several warnings

  • Resolved petervanderdoes

    (@petervanderdoes)


    In version TML 6.3.6

    Declaration of Theme_My_Login::get_object() should be compatible with Theme_My_Login_Abstract::get_object($class) in file /theme-my-login/includes/class-theme-my-login.php
    
    Declaration of Theme_My_Login_Custom_Redirection::get_object() should be compatible with Theme_My_Login_Abstract::get_object($class) in file /theme-my-login/modules/custom-redirection/custom-redirection.php
    
    Declaration of Theme_My_Login_Security::get_object() should be compatible with Theme_My_Login_Abstract::get_object($class) in file /theme-my-login/modules/security/security.php
    
    Declaration of Theme_My_Login_Themed_Profiles::get_object() should be compatible with Theme_My_Login_Abstract::get_object($class) in file /theme-my-login/modules/themed-profiles/themed-profiles.php
    
    Declaration of Theme_My_Login_User_Moderation::get_object() should be compatible with Theme_My_Login_Abstract::get_object($class) in file /theme-my-login/modules/user-moderation/user-moderation.php

    Basically the method declaration of get_object need to be identical with the declaration in the abstract class.

    File:class-theme-my-login.php
    Line: 87

    public static function get_object( $class=__CLASS__ ) {
    		return parent::get_object( $class );
    	}

    http://wordpress.org/extend/plugins/theme-my-login/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Several warnings’ is closed to new replies.