What log files does a WordPress installation write to?
Where (or if) errors are logged is dependent on your php configuration. You can control some of this via your WordPress wp-config.php file. See Configure Error Logging in Editing wp-config.php.
Where (or if) errors are logged is dependent on your php configuration. You can control some of this via your WordPress wp-config.php file. See Configure Error Logging in Editing wp-config.php.
Change line 93 from add_filter(‘manage_posts_custom_column’, ‘manage_posts_custom_column’); to add_filter(‘manage_posts_custom_column’, ‘manage_posts_custom_column’, 10, 2); The fourth argument specifies how many arguments the function manage_posts_custom_column accepts (one by default). Codex: add_filter()
First do not use 777, change it back to 755. Second you need to add the proper group permissions most likely to the same that Apache is running under. To find that out try: ps aux | grep apache You will see the Apache user group on the left. Now change your WordPress folder to … Read more
I had the same issue, this is usually a permission of writing in specific folder, in my case I had to change the owner of the uploads/ directory, here is what I did in wp-content directory: sudo chown -R daemon uploads/ where the user daemon is the owner of the process httpd. Hope this helps.
We can modify the bool output of the wp_is_fatal_error_handler_enabled() function in two ways: Constant Set the WP_DISABLE_FATAL_ERROR_HANDLER constant to true within the wp-config.php file: /** * Disable the fatal error handler. */ const WP_DISABLE_FATAL_ERROR_HANDLER = true; or define( ‘WP_DISABLE_FATAL_ERROR_HANDLER’, true ); Filter Use wp_fatal_error_handler_enabled bool filter: /** * Disable the fatal error handler. */ add_filter( … Read more
WP_DEBUG has no impact on PHP error output. In addition to error_reporting setting, set display_errors=0 in your php.ini file. It’s enabled by default for development. But you’ll want it off on production servers.
you can do that using login_errors filter hook and here is how: add_filter(‘login_errors’,’login_error_message’); function login_error_message($error){ //check if that’s the error you are looking for $pos = strpos($error, ‘incorrect’); if (is_int($pos)) { //its the right error so you can overwrite it $error = “Wrong information”; } return $error; } update: i just tested the code and … Read more
I would recommend running the following code right after your query to see what’s happening: exit( var_dump( $wpdb->last_query ) ); This should print the last query that hit your database. In cases like these, I usually will manually run such a query through phpMyAdmin to see if it runs without errors and to see if … Read more
I’m assuming that you put WordPress in your site root and the external directories are also in your site root. The reason this is happening is that .htaccess files follow a hierarchy. Whatever directives are in the top-level .htaccess file flow down and apply to all directories below it. If this is the case, you … Read more