Home › Forums › General › Fatal Error: Table ‘wp_erp_crm_customer_activities’ doesn’t exist › Reply To: Fatal Error: Table ‘wp_erp_crm_customer_activities’ doesn’t exist
Same issue here:
[Table ‘DB12345.wp_erp_crm_customer_activities’ doesn’t exist]
select *, MONTHNAME(created_at
) as feed_month, YEAR( created_at
) as feed_year from wp_erp_crm_customer_activities
where created_by
= 1 and type
= ‘log_activity’ order by created_at
desc
Fatal error: Uncaught Exception: Table ‘DB12345.wp_erp_crm_customer_activities’ doesn’t exist in /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php:150 Stack trace: #0 /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(1705): WeDevs\ORM\Eloquent\Database->select(‘select *, MONTH…’, Array, true) #1 /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(1690): Illuminate\Database\Query\Builder->runSelect() #2 /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(462): Illuminate\Database\Query\Builder->get(Array) #3 /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(446): Illuminate\Database\Eloquent\Builder->getModels(Array) #4 /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/modules/crm/includes/functions-customer.php(703): in /mnt/web001/c2/54/53540654/htdocs/crm/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php on line 150