Issue with Page Callback (1.1.5)

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) {	
	}
	
}

?>
 
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!
 
AutoLoad rules for XenForo:

Class_Name_With_Underscores

translates to:

library/Class/Name/With/Underscores.php
 
Back
Top Bottom