Hey,
I disabled all other plugins but the problem persists.
The WordPress installation reported an error via E-Mail. It is in German, hope you can understand it.
Thanks!
Vincent
WordPress-Version 5.4.2
Aktuelles Theme: Twenty Seventeen (Version 2.2)
Aktuelles Plugin: WP ERP (Version 1.6.0)
PHP-Version 7.2.31
Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 150 der Datei /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php verursacht. Fehlermeldung: Uncaught Exception: Table ‘DB4188015.wp_erp_crm_customer_activities’ doesn’t exist in /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp/vendor/tareq1988/wp-eloquent/src/Eloquent/Database.php:150
Stack trace:
#0 /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(1705): WeDevs\ORM\Eloquent\Database->select(‘select *, MONTH…’, Array, true)
#1 /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp/vendor/illuminate/database/Query/Builder.php(1690): Illuminate\Database\Query\Builder->runSelect()
#2 /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(462): Illuminate\Database\Query\Builder->get(Array)
#3 /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp/vendor/illuminate/database/Eloquent/Builder.php(446): Illuminate\Database\Eloquent\Builder->getModels(Array)
#4 /mnt/web323/a1/96/51206196/htdocs/WordPress_05/wp-content/plugins/erp
After updating to 1.6 I am now running into some problems. These are my observations to give feedback and ask for help. I am running WordPress self hosted (internally) and accessing via Google Chrome Client. (WP and ERP both on current versions)
The first problem I’ve come across is in HR management under Leave Management > Leave Polices. When I press “Add New” Nothing happens. I have to actually right click the add new button and select “open in new tab” to get to the new dialog screen.
Next, Compared to the previous version, I cannot find where to assign a policy to an employee? Is there a way to manually say “This employee gets 6 PTO days this year” without creating multiple policies and rules etc?
Lastly, only a few users show up under leave entitlements, not all of my users. This is strange. Thank you for your help.
Thank you for your assistance!
-Doc
I did update version 1.6. 0 but function HR leave option start half day to end half day not yet
Is it in the next version?
Thanks
Hello Wiktor,
For points 1, 2, 3, 5, and 6, all these will require customizing the plugin. It even will not be possible for one with guidelines unless he/she is a good developer having knowledge in PHP, JavaScript, and WordPress. You basically will require customizing in several files.
For case 4.
WPERP usages default WordPress media library. So, this totally depends on WordPress itself. This works the same for your current uploaded media in WordPress.
WPERP just stores the data on WordPress media library and fetches when requires.
Thanks
Hey, great plugin, looks great but I have quite a few “requests” so it can work exactly as I need it to. So I’ll just list them below, and you could let me know if it is possible, and how, these are all quite essential for me – happy to amend code with guidance if needed.
1. In the Frontend, can I customise which items show on the side panel and which items the employee can access – i.e. I want them to access only leave request, their documents, and change profile but NOT to see other employees;
2. Can I disable which info the employee can change for themselves – i.e. only address, I don’t even want them to see salary info etc;
3. In the dashboard on the Frontend, can I disable the “Birthday buddies” and other modules for all employees;
4. Document manager – seems as though this isn’t private, as it redirects an employee to a permalink at which the document is stored, if they are clever and edit that path with some other path for another doc, they could potentially access other documents stored on WordPress – potentially ending in a breach of data if accessed by unauthorised people; Perhaps there is a plugin you are aware of or a way to privatise these and even just allow them to download but not see the files in their browser?
5. Can we disable employees to be able to upload or delete files but only view / download ones assigned to them?
6. Any way to change the name of “Department” to something else, like “Team”?
I’m aware these are a lot of questions, but I hope there is a solution because this plugin could really help me solve my issues 🙂
Cheers
Wiktor
Hello,
You can clean the database by simply installing this cleaner plugin: https://github.com/wp-erp/erp-cleaner
1. Deactivate WPERP
2. Install and activate the cleaner.
3. Activate the WPERP
You are done.
when employee have a user role “shop manager” to manage woocommerce. They cant use WPERP because wperp needs another user role. In WP setting, user can only select 1 user role.
Hi,
Why i see this in my Deals Module?
https://subefotos.com/ver/?2af4bce2b4b40c59db198854c2d7c201o.png
How i can fix this error?
Thanks!
Hello Gordian,
It’s really tough to say specifically without knowing the complete scenario you have but make sure you are adding your code on the fillable to update the Eloquent model. Something like:
wp-content/plugins/wp-erp/modules/hrm/includes/models/employee.php:21
protected $fillable = [
'user_id',
'employee_id',
'designation',
'department',
'location',
'hiring_source',
'hiring_date',
'termination_date',
'date_of_birth',
'reporting_to',
'pay_rate',
'pay_type',
'type',
'status',
'delete_at'
];
You can also post it to our GitHub so that other developers can have a look on it.
Thanks
Server:
Bandwidth: 1.92 GB / ∞
MySQL® Disk Usage: 24.95 MB / 1.85 GB (1.32%)
Disk Space: 2GB FREE space over and above where wperp is installed currently.
Physical Memory 1 GB
We are looking at upgrading to VPS with 4GB ram and 4TB bandwidth with SSD, Perl 7.3, which we run now.
What size ram is running wperp? Dedicated managed? CPU? We selected you guys because of the growth potential of working with you but want to give your product the proper place to run fast, please advise because it is impacting what has been a super fast server up to this point. Thank you for your information and quick response, we like what we see so far but are experiencing challenges implementing with current server as listed.
Hello Bob,
For Example 01:
No, the won’t get the email. You need to have the campaign created first before adding the contact. If you have the contact already, that won’t get any campaign created later.
For Example 2:
Same as the 1, Contacts need to be created later after the campaign created.
‘Pause’ explains this actually. It should not stop. If it doesn’t, then there might be something wrong which we need to figure out.
Thanks
Hi,
I have 5 locations with 5 HR managers. Is it possible that HR manager and Employees from location 1 see only the ones attached to location 1? And so on…
Please let me know. Thanks
HI,
Thank you for your reply. -So, maybe there is another way I should do this? -It seems like a lot of work to go through 50 pages just to add the 1000 contacts to another group. I considered this article:
How to turn saved search into contact groups
But that does not let me add them to an existing group, it only allows me to add then to a NEW group. I want to add to existing group because of the way automatic email campaigns are sent based on when person is added to a group.
Which leads to the real question… -What kind of flexibility is there with automatic email campaigns? In order for the emails to be queued up do I need to have them all written prior to the user being added to the group?
Example 01…
Email 1 goes out 1 hour after person is added to Group “A”. I add a person to the group, and he gets the email. -A week later, I write an Email 2, and set it up to out 1 DAY after person was added to group “A”. Will the person that received email 1 (a week ago) also get email 2, or not, since for him, one day has already gone by?
Example 2
I write email 1 to go out 1 hour after user is added to the group and email 2 to go out 1 day after user was added to the group. I add some people to the group. and then proceed to write emails 3, 4 and 5… Will the people in the group get the emails written after the joined the group, or only those that were written (and scheduled) prior to them joining the group.
One last, related question. I see when I PAUSE a campaign, the related records in “wp_erp_crm_email_campaigns_people_queue” get a date/time stamp in the DELETED_AT column. Resuming the campaign does not change that, and the people in the queue never get sent the email. Can you explain what the purpose of PAUSE is, and what the effects are? -I paused it because I wanted to make a small edit to the email, but ended up breaking the sequence.
Thanks again,
Bob
Hi Mehedi. If that’s the conversation you had with your team, then unfortunately I think you’ve misunderstood the original request entirely. The button was not intended to bring the user to the backend, it was meant to take the user back to the home site. At the time of the original request, once a user navigated off the main site to go into the HR Frontend, there was no easy way to navigate back to the main user-facing set of pages (I’m not talking about the wp-admin backend here). A button with a customizable destination URL would solve that problem.
For context, our site was used for multiple purposes. Company staff would log in to the main page, where they would see an intranet-style dashboard. Here they could find company info, wiki, communications from other staff, and also the HR Frontend. If they clicked into the HR Frontend, once they were done what they needed to do, there is (was) no easy way to get back to the main home page dashboard from within the HR Frontend.
I hope that’s clearer. Like I mentioned before, we don’t use our site, or this plugin, anymore, so my investment in seeing this added beyond these comments is nil. But if other users are still commenting on this 1.5-year-old thread it means there’s still a need here.