researcher
Member
Hi, how are you?
I have just developed a PHP script and using this in a page node with callbacks. But I get some little PHP errors like:
I entered this code: XenForo_Application::disablePhpErrorHandler();
But not working, now I am getting this error:
How can I disable the error handling in XF2?
Thanks.
I have just developed a PHP script and using this in a page node with callbacks. But I get some little PHP errors like:
Cannot modify header information - headers already sent by
I entered this code: XenForo_Application::disablePhpErrorHandler();
But not working, now I am getting this error:
[B]Error[/B]: Class 'XenForo_Application' not found in [B]src/addons/SimpleAddon_index.php[/B] at line [B]28[/B]
How can I disable the error handling in XF2?
Thanks.