Error thrown

Call to undefined function register_activation_hook()