Could not create directory /wp-content/upgrade/

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

Unable to locate WordPress Content directory (wp-content)

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.

How to disable the fatal error (WSOD) protection?

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

Change login error messages

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

Showing errors with $wpdb update

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)