• 14
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /home/prodcxja/public_html/questions/application/views/question.php
Line: 191
Function: _error_handler

File: /home/prodcxja/public_html/questions/application/controllers/Questions.php
Line: 433
Function: view

File: /home/prodcxja/public_html/questions/index.php
Line: 315
Function: require_once

We are facing this issue

Fatal Exception: java.lang.ClassCastException: android.support.v7.widget.TintContextWrapper cannot be cast to android.app.Activity

 btnEdit.setOnClickListener { v ->
                val intent = Intent(v.context, Edit_Logs::class.java)
                v.context.startActivity(intent)
                (v.context as Activity).finish() // Getting Error Here
            }