• Hi. I’m looking around for a good staff directory and wanted to try yours. When I use it, either by shortcode or widget, I get the following errors:

    shortcode version:

    Call to a member function get_group_users_info() on a non-object in /var/www/html/wp-content/plugins/active-directory-employee-list/classes/class-active-directory-employee-list-output.php on line 290

    widget version:

    Call to a member function user_info() on a non-object in /var/www/html/wp-content/plugins/active-directory-employee-list/classes/class-active-directory-employee-list-output.php on line 327

    Any suggestions? Thanks.

    https://www.ads-software.com/extend/plugins/active-directory-employee-list/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Curtiss Grymala

    (@cgrymala)

    Can you do me a favor and try downloading the latest development version of the plugin to see if that makes any difference?

    Are you using a standard WordPress installation or a multisite install? Thanks.

    Thread Starter stephenwilley

    (@stephenwilley)

    I’m using a multi-site install.

    That’s definitely gotten me further. Putting in the new Widget and choosing Name and e-mail now gives me results, but with errors. The output is as follows:

    <div class="employee-list-item">
    	<p class="employee-name"><strong>	Bart iddlename%2$s
    	</strong></p>
    		<p class="employee-mail"><a href="mailto:[email protected]">[email protected]</a></p>
    </div><div class="employee-list-item">
    	<p class="employee-name"><strong>	Tom iddlename%2$s
    	</strong></p>
    		<p class="employee-mail"><a href="mailto:[email protected]">[email protected]</a></p>
    </div>

    If I put the shortcode on a page and have it just show:

    <li>%cn%</li>

    Then a refresh of the page shows the list of names, however, the search does not work and throws the following PHP warning:

    PHP Warning: implode(): Invalid arguments passed in /var/www/html/wp-content/plugins/active-directory-employee-list/classes/class-active-directory-employee-list-output.php on line 407

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Active Directory Employee Listing] Call to a member function on a non-object’ is closed to new replies.