Hi @baamirzadeh
Sorry for the inconvenience.
The actions you have performed are the most recommended for this type of issue (checking memory limits, php version, conflict test, update, etc). As an additional test, we’d suggest to enable the WordPress debugging to gather more information about this error. Please add these lines in your wp-config.php file:
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
The code should added before this other line:
/* That's all, stop editing! Happy blogging. */
This block of code will create a debug file in this location: /wp-content/debug.log. Please check if any new entries are added in the logs and share them in this thread so we can provide additional assistance.
Find more info in the WordPress documentation:
https://ww.wp.xz.cn/documentation/article/debugging-in-wordpress/
Hope this information helps.
Kind regards
Luis
Hello @baamirzadeh ,
We haven’t heard from you for 4 days now, so it looks like you no longer need our assistance.
Feel free to re-open this topic if required.
Kind regards
Kasia
Hi Luis
Thanks for the reply. I’ve added this code to the wp-config.php, but I wasn’t able to locate this debug file in the wp-content folder. Is there any chance I can find it somewhere else? Actually, I even searched for the keyword, but they were some related to other plugins exclusively.
kind regards,
Bahman
Hi @baamirzadeh
I just tried to test the form on your site and I can see there too that it errors out. In browser console I can see that ajax request is failing with “500 internal server error”.
A look into debugging log could indeed help here. If you have correctly added suggested lines to the “wp-config.php” file of the site, the file should be created and the location would be exactly
/wp-content/debug.log
if it isn’t created, start please with double-checking the “wp-config.php” file as it’s possible that one of these two lines
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
occurs there more than once, with “false” instead of “true” – that may be the reason so make sure there’s only single instance of each of those lines and only with “true”.
It’s possible also (not really often but not impossible) that host is specifically configured to “intercept” errors but even if not and the debug.log is not created, you should still have some kind of PHP error log (“error_log” usually or “error.log”) available from your cPanel or similar hosting management panel.
Could you please check? If you can’t find any, then the last resort is asking your host support for such log – they should be able to provide you with it.
A look into it may help a lot here.
Best regards,
Adam
Hi @baamirzadeh,
Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.
Kind Regards
Nithin