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);

    with

    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

  4.  
    <?php
      ob_start();
    
      // code 
    
     ob_end_flush();
    ?> 

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).

cast_sender.jschrome-extension://boadgeojelhgndaghl…
cast_sender.jschrome-extension://dliochdbjfkdbacpmh…
cast_sender.jschrome-extension://enhhojjnijigcajfph…
cast_sender.jschrome-extension://fmfcbgogabcbclcofg…
cast_sender.jschrome-extension://pkedcjkdefgpdelpbc…
cast_sender.jschrome-extension://fjhoaacokmgbjemofl…

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 ” https://www.youtube.com/embed/pw6wBn1pgA8 ” Just replace to look like ” https://www.youtube.com/v/pw6wBn1pgA8 “

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ĸer.com and o-o-8-o-o.com Google Analytics Referral Spam

spam-in-google-analytics

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ĸer.com and  hxxp://o-o-8-o-o.com/

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

  • hxxp://o-o-8-o-o.com/
  • hxxp://lifehacĸer.com/new-revolutionary-shell-from-lifehacĸer.com/

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

fake-lifehacker-site-lifehacker-com_

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ĸer.com 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ĸer.com 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 | Example\.com | lifehacĸer.com | o-o-8-o-o.com

referal-spam-itechengine

 

How to block Lifehacĸer.com 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…

## SITE REFERRER BANNING

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

RewriteCond %{HTTP_REFERER} Lifehacĸer.com

RewriteRule .* – [F]

How to Enable Two-Step Verification on WhatsApp

2-factor-authentication-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?

Jio-SIM-Card-Reliance-Jio-LYF[1]

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

UNLIMITED 4G VPN TRICK – AIRTEL

airtel-new-logo

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 – 180.179.108.50
  • 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: