New answers tagged

0

From your question, it might appear that this problem happens with any theme or plugin that you try to install, but most likely this is not the case -- as only themes or plugins that are coded to establish a secure HTTPS connection with a peer should be able to potentially trigger such an error condition. I find it hardly doubtful that installing from the ...


0

Make sure you set your define( 'WP_DEBUG', false ); Else you may get 404. In my case I had that problem, when I inherited some project where there was many notices, and PHP warnings. This may be connected with the Ajax problem I had at that time. The temporary solution was to set debugging to false in my case.


1

You can wrap it in the same check used for $category: <?php if (isset($term->term_id)) { echo '<a href="'.get_term_link($term).'">'.$term->name.'</a>'; } ?> or check to make sure it is not an error object: <?php if (!is_wp_error($term)) { echo '<a href="'.get_term_link($term).'">'.$term->name.'</a>'; } ...


0

Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) makes the problem clear in the error message. You're running out resources - php memory. You can increase the php memory or you can ask the hosting provider to increase it for you. There are several ways to increase php memory. Some may work for you and others not. ...


1

You have to take two scenarios into account because they behave little differently. Copy both of these code blocks to your functions.php file. Code about errors is below, make sure to read comments. 1. Login failed - username and password was provided but something was incorrect add_action( 'wp_login_failed', 'login_failed_wrong_data' ); function ...


0

If your code, you use the first argument passed to wp_authenticate_user filter callback. That is a WP_User object, it not a email address and it is not a string. You may be confusing because of the name of the variable, $username, I suggest to change the name to $user, whcih is more appropiate and it is a better representation of the real value of that ...



Top 50 recent answers are included