ErrorException : Return value of "Illuminate\Foundation\Console\PackageDiscoverCommand::execute()" should always be of the type int since Symfony 4.4, NULL returned

Leave a Comment
This issue Laravel 6.* installation getting failing because PHP Error Suppress operator (@) is disabled in PHP configuration file using following directive.

scream.enabled=1;

#or 

xdebug.scream =1;

This scream directive will disable the effects of error suppression operator (@).

So please disable the following directive in your php.ini file.

scream.enabled=0;

#or 

xdebug.scream =0;



Error : Can't Load URL: The domain of this URL isn't included in the app PHP Facebook OAuth 2 Login

Leave a Comment
Simply upgrade facebook/graph-sdk to 5.7 solves the problem.

{
    "require" : {
       "facebook/graph-sdk" : "^5.7"
    }
}

Highcharts Error #22 Map does not support latitude/longitude

Leave a Comment
When you are trying to use custom GeoJSON to draw a map using Highmap, you will get this error "Highcharts Error #22 Map does not support latitude/longitude".

Reason:
  1. It is because of custom GeoJSON you had is not supported projection format of the HighMap.
  2. Maybe you have not included proj4.js file in your html file.
    <script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.6/proj4.js"></script>
    
  3. Maybe custom GeoJSON doesn't have projection (CRS) related information i.e. hc-transform in it.
    "hc-transform":{ 
        "default":{
            "crs":"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +datum=WGS84 +units=m +no_defs"
        }
    }
Please refer following tutorial to create custom GeoJSON from scratch and also using same GeoJSON and draw highmaps. Custom HighMaps GeoJSON World Map Using QGIS

Generate hc-transform using QGIS

Leave a Comment
After re-projection of your map layers, then to know about CRS transformation follow the steps

Step 1: Open Projection Properties Dialog:

Use Ctrl+Shift+P in windows or Cmd+Shift+P on Mac to open Projection properties dialog.

Step 1: Add HC-TRANSFORM in your GeoJSON file:

Now add following hc-transform in your GeoJSON file like in the below image.

"hc-transform":{ 
    "default":{
        "crs":"+proj=mill +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +R_A +datum=WGS84 +units=m +no_defs"
    }
}

Feature has invalid geometry. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option QGIS

Leave a Comment
Settings > Options > Processing > General > Invalid features filtering


Step 1:

Step 2:

HTTP to HTTPS redirect Using htaccess

Leave a Comment
Create .htaccess file in your public_html folder if not exists. Add following conditions in it to redirect from http to https.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

If Apache version is below 2 use this

RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]


Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings. Facebook Login

Leave a Comment
I had same issue (Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains and subdomains of your app to the App Domains field in your app settings) by updating SDK version solved the problem 

Solution: Simply update your SDK to latest version to 5.6.2 or 5.6.3 will solve the problem.