• Resolved Aravind Ajith

    (@aravindajith)


    Hi WeDevs,

    After the recent update, the plugin stopped working with this error “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”

    The error detail I received in the email is below.

    Error Details
    =============
    An error of type E_ERROR was caused in line 94 of the file /wp-content/plugins/erp/vendor/illuminate/support/Str.php. Error message: Uncaught Error: Call to undefined function Illuminate\Support\mb_strpos() in /wp-content/plugins/erp/vendor/illuminate/support/Str.php:94
    Stack trace:
    #0 /wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(535): Illuminate\Support\Str::contains(‘status’, ‘->’)
    #1 /wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(211): Illuminate\Database\Query\Builder->where(‘status’, ‘!=’, ‘0’)
    #2 /wp-content/plugins/erp/modules/hrm/includes/functions-employee.php(221): Illuminate\Database\Eloquent\Builder->where(‘status’, ‘!=’, ‘0’)
    #3 /wp-content/plugins/erp/modules/hrm/includes/class-employee-list-table.php(336): erp_hr_employee_get_status_count()
    #4 /wp-content/plugins/erp/modules/hrm/views/employee.php(23): WeDevs\ERP\HRM\Employee_List_Table->prepare_items()
    #5 /wp-content/plugins/erp/modules/hrm/includes/admin/class-menu.p

    Thank you

    • This topic was modified 5 years, 4 months ago by Aravind Ajith.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strange error – Plugin stopped working’ is closed to new replies.