wp erp “employees” broken
-
Dear tareq, could you please help? Many Thanks.
On a wordpress installation with only “wp erp” activated, I get this when I click on the “Employees” tab (themes twenty twenty or astra):
Fatal error: Uncaught Exception: Table ‘ttttt.wp_8_usermeta’ doesn’t exist in xxxx/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php:150 Stack trace:
#0 xxxx/wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(1705): WeDevs\ORM\Eloquent\Database->select(‘select `wp_8_er…’, Array, true)
#1 xxxx/wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(1690): Illuminate\Database\Query\Builder->runSelect()
#2 xxxx/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(462): Illuminate\Database\Query\Builder->get(Array)
#3 xxxx/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(446): Illuminate\Database\Eloquent\Builder->getModels(Array)
#4 xxxx/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php on line 150
There has been a critical error on your website. Please check your site admin email inbox for instructions.With query monitor activated, I get This:
Fatal error: Uncaught Exception: Table ‘ttttt.wp_8_usermeta’ doesn’t exist (SQL: select
wp_8_erp_hr_employees
.user_id
,display_name
fromwp_8_erp_hr_employees
left joinwp_users
onwp_8_erp_hr_employees
.user_id
=wp_users
.ID
left joinwp_8_usermeta
asgender
onwp_8_erp_hr_employees
.user_id
=gender
.user_id
andgender
.meta_key
= ‘gender’ left joinwp_8_usermeta
asmarital_status
onwp_8_erp_hr_employees
.user_id
=marital_status
.user_id
andmarital_status
.meta_key
= ‘marital_status’ wherestatus
= ‘active’ andwp_8_erp_hr_employees
.deleted_at
is null order byhiring_date
desc limit 20 offset 0)
in xxxx/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php on line 150Call stack:
WeDevs\O\E\Database::select()
wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php:1705
Illuminate\D\Q\Builder::runSelect()
wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php:1690
Illuminate\D\Q\Builder::get()
wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php:462
Illuminate\D\E\Builder::getModels()
wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php:446
Illuminate\D\E\Builder::get()
wp-content/plugins/erp/modules/hrm/includes/functions-employee.php:149
erp_hr_get_employees()
wp-content/plugins/erp/modules/hrm/includes/class-employee-list-table.php:389
WeDevs\E\H\Employee_List_Table::prepare_items()
wp-content/plugins/erp/modules/hrm/views/employee.php:23
include()
wp-content/plugins/erp/modules/hrm/includes/admin/class-menu.php:284
WeDevs\E\H\A\Admin_Menu::employee_page()
call_user_func()
wp-content/plugins/erp/modules/hrm/includes/admin/class-menu.php:233
WeDevs\E\H\A\Admin_Menu::router()
wp-includes/class-wp-hook.php:287
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:311
WP_Hook::do_action()
wp-includes/plugin.php:478
do_action()
wp-admin/admin.php:254
There has been a critical error on your website. Please check your site admin email inbox for instructions.Abderrahim from Casablanca – Morocco
- The topic ‘wp erp “employees” broken’ is closed to new replies.