Hello @javierproja,
Appreciate your response. We are unfortunate for the critical error you are facing.
I would like you to enable debugging can help you identify the specific error message. To do this, open your wp-config.php file and add (or update) the following lines:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
After enabling debugging, try to reproduce the error by accessing the department creation section. Then check the log file at /wp-content/debug.log for details about the error.
Sometimes a “critical error” can be due to insufficient memory or a PHP conflict:
- Increase your PHP memory limit by adding this line to your
wp-config.php
define( 'WP_MEMORY_LIMIT', '256M' );
- Ensure your hosting environment is running a supported version of PHP.
- Increase your PHP memory limit by adding the below line to your
wp-config.php
define( 'WP_MEMORY_LIMIT', '256M' );
- Ensure your hosting environment is running a supported version of PHP.
Conflicts with other plugins or your theme could cause WP ERP to crash. Temporarily deactivate all other plugins except WP ERP. Then try to create a department again.
- If the error disappears, reactivate your plugins one by one to find the conflict.
- Switch to a default WordPress theme (like Twenty Twenty-Five) to see if your current theme is causing a conflict.
- Ensure you’re using the latest version of WP ERP. Updates includes bug fixes.
- There might have been an error during installation. Deactivate and delete WP ERP, then reinstall it.
Note: Before doing this, back up your site beforehand.
If you are still stuck and the issue persists, please contact us so we can investigate and provide a resolution promptly.
Thanks,
Hi @javierproja
As you haven’t responded in a while, I assume the issue is fixed.
I am closing this ticket as resolved.
Feel free to create another thread if you need help, or contact us from our official page so we can assist you further.
Thanks,