Quick hack to disable unsupported PHP method in production