500 Internal Server Error after Register dialog, but with successful registration

Internal Server errors are usually thrown when there’s an error somewhere in the code. You did the right thing searching the logs, but depending on your hosting configuration not all errors can be written there. I like using WordPress’s own logging facility. Here’s what you need to do: Stick the following lines in your wp-config.php … Read more

Error Logs to Diagnose Error 500 in LAMP

You are using Apache for your http server,it will keep it owns logs for access & errors, depending on how you have it configured. By default Apache will probably use the following logs; /var/log/httpd/access_log /var/log/httpd/error_log or /var/log/apache2/access_log /var/log/apache2/error_log Log locations are in your Apache Config (/etc/httpd/). Check here for details. Using WP_DEBUG The WP_DEBUG flag … Read more

WooCommerce – Call to undefined function is_woocommerce()

If you want to check one Plugin’s Function / Class etc. from another Plugin, then it’s best to use a hook like plugins_loaded. Based on this, your Plugin CODE will look like: <?php /* Plugin Name: YOUR PLUGIN NAME */ defined( ‘ABSPATH’ ) or exit; add_action( ‘plugins_loaded’, ‘plugin_prefix_woocommerce_check’ ); function plugin_prefix_woocommerce_check() { if( function_exists( ‘is_woocommerce’ … Read more