• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Issue with Page Callback (1.1.5)

#1
So for some reason I am getting "Please enter a valid callback method" when trying to submit a page with the callback method of ServerLogs_Callback::respond.

Even when I strip out the inside of the static function it still returns the same, I have no idea what I am doing wrong. Thanks!

Code:
<?php

class ServerLogs_Callback {

	public static function respond(XenForo_ControllerPublic_Abstract $controller, XenForo_ControllerResponse_Abstract &$response) {	
	}
	
}

?>
 
#3
Close, directory structure is root/library/ServerLogs/ServerLogsCallback.php (Does it need to be just Callback.php because I'm going to kick myself if that's the case)

EDIT: It appears I am kicking myself... Thanks Kovifor for pointing out my idiocy haha!