Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
It seems like your server time is not correctly set. Please correct your server time, you may want to restart your web server after fixing the time.
It seems like your server time is not correctly set. Please correct your server time, you may want to restart your web server after fixing the time.
I had the same Error. It occured because I requested a post-type that didn’t existed. add_filter( ‘pre_get_posts’, ‘my_get_posts’ ); //events don’t exists function my_get_posts( $query ) { $query->set( ‘post_type’, array( ‘post’, ‘page’, ‘events’ ) ); return $query; }
I had the same problem before. When I asked my friend, who is maintaining the server, he answered me that it’s because of the server firewall. When he turned of the firewall, everything was ok (plugins can update, akismet can check for spam, etc.). So, if you’ve checked all your settings with Core Control (make … Read more
Try this: <?php header(“Content-type: application/csv”); header(‘Content-Disposition: inline; filename=”export.csv”‘); // change this filename include (‘../../../wp-load.php’); // may need to change number of “../” depending upon location global $wpdb; $rows = $wpdb->get_results (“SELECT * FROM {$wpdb->prefix}table_name”); // change the table name echo strtolower(implode(‘,’, array_keys((array)$rows[0]))) . “\r\n”; // fixes an Excel bug if the first column is “ID” … Read more
WordPress is pretty solid, usually misconfigurations get in the way. You want to make sure: you have your wp-config.php file properly set your database is accessible that your home and siteurl settings are properly set in wp_options table sometimes a plugin fouls things up, you can disable all plugins by unsetting active_plugins in the wp_options … Read more
This isn’t a WordPress problem. There’s no telling on a shared environment what the culprit might be. You probably don’t have access to your php.ini config, nor do we know how many websites your hosting company has jammed on your server. The very nature of a shared server is that each client shares the resources … Read more
You’re not closing the first if tag. /* Update user information. */ if ( !empty( $_POST[‘url’] ) ){ update_user_meta( $current_user->id, ‘user_url’, esc_url( $_POST[‘url’] ) ); } else{ delete_user_meta( $current_user->id, ‘user_url’); } Also, you should use esc_url_raw on a raw url and then if you’re echoing into the html use esc_url. You also shouldn’t save esc_attr … Read more
As the errors tell you it is caused by badly written code. What you can do: Ask the qtranslate developer to fix these issues, file a proper bug report and add the errors to it. Then wait for an update.
THE ANSWER Well as it happens many times in my life – i found the answer myself. For people who struggles as me here the answer: $post[‘errors’][‘field_name’][‘errors’][] = __(‘Error text here.’); if you do that – error text will be displayed at the bottom of that field. In my case this doesn’t work because i’m … Read more
I’m using this kind of code which seems to work (with wp_signon). <?php /* Template Name: Connexion */ global $user_ID; if (!$user_ID) { if($_POST){ $username = $wpdb->escape($_REQUEST[‘username’]); $password = $wpdb->escape($_REQUEST[‘password’]); $remember = $wpdb->escape($_REQUEST[‘rememberme’]); if($remember) $remember = “true”; else $remember = “false”; $login_data = array(); $login_data[‘user_login’] = $username; $login_data[‘user_password’] = $password; $login_data[‘remember’] = $remember; $user_verify = … Read more