Thread:Extension talk:HidePrefix/HidePrefix not working with PHP 5.2/reply

had the same problem. Added this line before the entry point if statement:

that fixed it.