*

ishan

  • ****
  • 126 posts
osclass database error - Osclass database is not available
« on: July 28, 2020, 02:28:37 PM »
Please tell me this issue.. how to solve this..

Fatal error: Uncaught Error: Call to undefined function osc_is_admin_user_logged_in() in /home/ca****s/public_html/oc-includes/osclass/classes/database/DBConnectionClass.php:177 Stack trace: #0 [internal function]: DBConnectionClass->__destruct() #1 {main} thrown in /home/ca****s/public_html/oc-includes/osclass/classes/database/DBConnectionClass.php on line 177

*

ishan

  • ****
  • 126 posts
Re: osclass database error - Osclass database is not available
« Reply #1 on: July 30, 2020, 08:59:56 AM »
Please find attachment how to solve those issue? Its showing blank and it cant delete also please help

*

MB Themes

Re: osclass database error - Osclass database is not available
« Reply #2 on: August 03, 2020, 08:15:13 AM »
@ishan
1) osc_is_admin_user_logged_in is core function (hUser.php)
2) This happens when there are foreign keys on t_item table and during removal, everything is deleted, but only record in t_item table and table from foreign key are kept. To fix it, find foreign key and delete it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ishan

  • ****
  • 126 posts
Re: osclass database error - Osclass database is not available
« Reply #3 on: August 03, 2020, 09:53:43 AM »
from where i need to find foreign_key?? in which files??

*

MB Themes

Re: osclass database error - Osclass database is not available
« Reply #4 on: August 03, 2020, 01:02:49 PM »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots