Cannot modify header information – headers already sent by… WordPress Issue

When running script, I am getting several errors like this:

Warning: Cannot modify header information – headers already sent by (output started at /some/file.php:12) in /some/file.php on line 23


Possible solutions

  1. header("Location: $location", true, $status);


    echo "<meta http-equiv='refresh' content='0;url=$location' />";
  2. Most of this trouble comes up because of undesirable whitespace(s) somewhere before the first "<?" and after the last "?>" in a php script. Use Notepad2 or something to edit code and better try to use in-built on-line theme editor in the admin console. Try to find and eliminate all undesidrable whitespaces in every theme’s php file and resave those files.
  3. The long term answer is that all output from your PHP scripts should be buffered in variables. This includes headers and body output. Then at the end of your scripts do any output you need.

    The very quick fix for your problem will be to add

      // code 

cast_sender.js console error

Recently I have started seeing cast_sender.js console errors in one of the websites.

Issue here was It’s the JavaScript code inside the YouTube iframe polls for the extensions it could interoperate with in case they were installed (likely to determine if the extension is installed).


A simple solution – To stop seeing those cast_sender.js errors, edit the youtube link in the iframe src and change embedto v

E.g. If you have a link ” ” Just replace to look like ” “

How to Remove line breaks _x000D_ from Excel data sheet

1 – Select the cell(s) that contain line breaks you wish to remove

2 – Press CTRL + H on your keyboard. This opens up the “Find and Replace” dialog box.

3 – In the field “Find what” where you would normally type the word/text you want to replace, you need to enter the following : ALT + 010
>>> Keep the ALT key pressed, while typing 010 using the number keypad of your keyboard (problem if you’re working on a laptop, keyboard doesn’t include number pad). You should then see a dot appear briefly then disappear in the field “Find what”.

4 – In the field “Replace with”, just enter a space (a normal blank space using your keyboard space bar)

5 – Hit “Replace All”, and all your line breaks should be gone.

Excel formula: Get percentage discount

percentage discount

If you have a discounted price and an original price, and you want to know the discount as a percentage, you can calculate the percentage discount using a formula that divides the discounted price by the original price and then subtracts the result from one.

Generic formula
= 1 - (discount_price / original_price)

How the formula works In the example?

Excel first divides the discounted price by the original price in to get value, which is then subtracted from 1: =1-(59.5/70) =1-0.85 =0.15

Note that the result is a decimal version of the percent, and must be formatted using the Percentage number format in Excel to display as a percentage.

How to Block lifehacĸ and Google Analytics Referral Spam


A Russian referrer spammer has registered various domains that use special figures – with those special figures the spammer is able to register domains like lifehacĸ and  hxxp://

The spammer uses the following URLs in the spam run (this is just a small portion):

  • hxxp://
  • hxxp://lifehacĸĸ

If you want to filter the spam run from your analytics data, then simply use the following steps:


Create an Exclude Filter

1. Open your Google Analytics account and go to the Admin tab> Cick Filters on the right side in the VIEW section.

2. Click the + ADD FILTER button to create a new exclude filter.

3. Add lifehacĸ or something you can easily remember as the Filter Name.

4. Select the Custom Filter Type.

5. In Filter Field, find and select Campaign Source in the list. In the Filter Pattern text box, add lifehacĸ and click the blue Save button on the bottom of the webpage. To add multiple URLs to the same filter you can make a Filter Pattern similar to this with a | between each URL: | Example\.com | lifehacĸ |



How to block Lifehacĸ referrer spam using your .htaccess file?

If you are aware of a way to access your .htaccess file, you will just have to write the code below in there…


RewriteCond %{HTTP_REFERER} Lifehacĸ [NC,OR]

RewriteCond %{HTTP_REFERER} Lifehacĸ

RewriteRule .* – [F]

How to Enable Two-Step Verification on WhatsApp


To set up two-step verification for WhatsApp, you need to take the following steps:

  1. Open WhatsApp (duh!)
  2. Go to Settings
  3. Go to Account
  4. Look for Two-step verification
  5. Tap on Enable
  6. On the next screen, enter six-digit passcode.
  7. Next, re-enter six-digit passcode.
  8. Optionally, add your email address on the next screen.

In the last step – optional, as mentioned – WhatsApp asks for an email address to link with your account. This email address will let WhatsApp to send a link via email to disable two-step verification in case user forgets the six-digit passcode.

Remember that in case you user forget the six-digit passcode, WhatsApp won’t permit re-verifying the account within seven days of last using WhatsApp.

Another welcome improvement to WhatsApp, which was introduced a few beta versions ago too, is the option to play audio messages in the background. Previously, you had to keep WhatsApp open and stay within the conversation to hear any voice message received in it. Now, you can wander away freely, switch to other conversations or even other apps, and as long as the voice message isn’t over and your phone’s screen doesn’t turn off, the audio will continue playing.

Google Chrome slow with many tabs open – The Great Suspender

It’s really hard to manage so many tabs on Chrome — and Firefox too. But worse still is the obstruction in the performance of your computer, as the tabs continue to run background processes and feed on your system’s memory.

Google Chrome likes to use memory and give your processor a good workout if you keep a handful (or more) tabs open on a regular basis. This can have a negative impact on the speed of your computer, and certainly the life of your laptop’s battery. The Great Suspender solves that problem by shutting those tabs down when they’re not in use.

New version 6.21 released.Bug fixes: Tabs no longer suspend with wrong url. Fixed ‘suspend other tabs’ buttonNew features: Dark theme for night crawlers. Improved whitelist with regex support. Suspend actions can now be performed on groups of highlighted tabs.

Source: The Great Suspender – Chrome Web Store

StoreShots – Create App Store Screenshots for Android, iPhone & iPad

Put your screenshots in the right frame
for iPhone, iPad and Android.

Create App Store Screenshots that sell. Increase your downloads with no effort and present your app in the best way possible. Without a monthly fee.

The right frame for the right device.

Present your app in a realistic setting for every user. StoreShots uses the right device frame for every device class. (e.g. iPhone 6s for iPhone 6s screenshot sizes). You can choose between multiple color options or select a flat design.

Custom layout.

Set custom background gradients, upload your own background image, select different font styles and position the device to fit your app. Format your text with different sizes and font styles.

Localize to all languages.

Even if your app is only available in English, you should localize your description and screenshot tag lines to reach even more users worldwide.

iTunes Connect upload with Deliver.

StoreShots generates a structured export, which can be uploaded automatically with fastlane’s Deliver.

iPhone, iPad and Android phone & tablet support

Bulk upload

App landing page

Export in PNG or JPEG

Landscape and portrait mode

Intelligent asset selection

Unlimited projects

Duplicate projects

Source: StoreShots – Create App Store Screenshots for Android, iPhone & iPad

How to port or MNP your sim to Reliance Jio with Preview Offer?


It’s straightforward technique same as you do with others. just you need to communicate something specific from your sim card like following steps

Steps to port MNP to jio with preview offer:-

  • Most importantly open your message box and compose message
  • Sort PORT space Your Mobile Number then, Send it to 1900
  • you will get a porting id
  • visit any closest store and show them port id with your adress verification
  • Additionally pay as sim card cost and get your jio sim
  • That is it. Along these lines you can port your sim card to jio with sneak peak



Highlights :-

  • Boundless Browsing
  • No Speed Capping Issues.
  • Working With Default apn.
  • Working In 0 Balance.
  • 4G Supports


Step by step instructions to Use This Twerk It Vpn Handler Trick For Unlimited 3G/4G ?

  • Download Twerk It Handler – Click Here to Download apk.
  • Presently Install It Manually.
  • Use default web settings,
  • Open Twerk It Handler Menu.
  • Use Below Settings In Handler Menu
  • Remove Port – Enable
    Proxy Type – Dual Real Host
    Proxy Server –
  • Save settings and open it.
  • On Twerk It Homepage, Select Server as United States [Working High Speed].
  • Begin Enjoying Unlimited 3G/4G With Twerk It. Working With High-Speed Browsing And Downloading.
  • For Avoid Sim Blocking Issues Disconnect and reconnect it on each 250mb.

Recent search terms: