Undefined index action Cannot modify header

The Cannot modify header error is actually caused by the first error, as the error is being printed on the page invoking a header, therefore any code coming after that trying to modify the header will produce the Cannot modify header error. As to the Undefined index: action error, apparently the theme author assumes that … Read more

global $post inside plugin query messes up every new post page in wp-admin

You have two problems in your code. You use $post as a iteration variable which is an habit best avoided You use setuppostdata which changes the global $post without you using any function that actually needs it your loop should look like foreach ( $pp_query as $p) : $pointer_query[] = array( ‘id’ => get_post_meta($p->ID, ‘_sbap_pointerid_text’, … Read more

get_user_by asking for string while string is given

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 … Read more

WordPress Dashboard visible but site is not after migration

The plugin files need to be re uploaded. Could you please do the following: Backup /home6/poorric4/public_html/PR/wp-content/plugins/the-events-calendar/ delete the-events-calendar folder. Download the same version of events calendar from https://wordpress.org/plugins/the-events-calendar/developers/ (Do not upload the latest as there may be compatability issues) Go to the backend and confirm the plugin is active.

403 Forbidden on site logo image upload

A few things come in mind have you checked nginx access/error log? Depending on your distro, log should be located at /var/log/nginx/access.log and /var/log/nginx/error.log. What role is your current WP user when uploading, does it have required capabilities ? Try to change wp-content permission to 755 Are you having difficulties only with images file? If … Read more

Speed issues because of CSS & JavaScript

There are so many errors, image are not optimized and some links are returning 404. eg: http://julietloves.co.in/wp-content/uploads/2016/08/55-1.png http://julietloves.co.in/wp-content/uploads/2016/08/TAG-168×42.png I will recommend you to optimize all images using optimizilla.com and re-upload it. After that install “W3 Total Cache” it will help fix server response time issue. howlthemes.com/wordpress-caching-w3-total-cache-setup-guide/ Still there are lots of issue best solution is … Read more