Error thrown

Call to a member function enqueue_frontend_resources() on null