cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.1 Shows blank white screen

SOLVED

Re: Magento 2.3.1 Shows blank white screen

Hi @rbalamuruga 

It seems some issue with PHP CLI version. Please check you PHP CLI version.

You should change the CLI version to PHP 7.2 as well.
That package seems to be using PHP 7.1 as a minimum version (since they are using the the return type void in their code which wasn't introduced until PHP 7.1)

Re: Magento 2.3.1 Shows blank white screen

Hello @Vimal Kumar 

 

This is my module's Composer.json

{
    "name": "magento/module-paypal",
    "description": "N/A",
    "config": {
        "sort-packages": true
    },
    "require": {
        "php": "~7.1.3||~7.2.0",
        "lib-libxml": "*",
        "magento/framework": "102.0.*",
        "magento/module-backend": "101.0.*",
        "magento/module-catalog": "103.0.*",
        "magento/module-checkout": "100.3.*",
        "magento/module-config": "101.1.*",
        "magento/module-customer": "102.0.*",
        "magento/module-directory": "100.3.*",
        "magento/module-eav": "102.0.*",
        "magento/module-instant-purchase": "100.3.*",
        "magento/module-payment": "100.3.*",
        "magento/module-quote": "101.1.*",
        "magento/module-sales": "102.0.*",
        "magento/module-store": "101.0.*",
        "magento/module-tax": "100.3.*",
        "magento/module-theme": "101.0.*",
        "magento/module-ui": "101.1.*",
        "magento/module-vault": "101.1.*"
    },
    "suggest": {
        "magento/module-checkout-agreements": "100.3.*"
    },
    "type": "magento2-module",
    "license": [
        "OSL-3.0",
        "AFL-3.0"
    ],
    "autoload": {
        "files": [
            "registration.php"
        ],
        "psr-4": {
            "Magento\\Paypal\\": ""
        }
    },

and this is my php cli version

PHP 7.2.18 (cli) (built: May 14 2019 13:52:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.18, Copyright (c) 1999-2018, by Zend Technologies

Re: Magento 2.3.1 Shows blank white screen

@rbalamuruga Did you ever get this solved?

 

Got exactly the same problem: 
Blank page when I go to Stores -> Configuration -> Sales -> Payment Configration, (the source only shows a style tag, a form tag and 2 divs), and no errors.

 

When I disable Magento_Paypal and Magento_Braintree, the page displays as expected.

 

Re: Magento 2.3.1 Shows blank white screen

It's all about the env.php file encryption key.

 

The developers at https://ecomitize.com/ recommend that you pay attention to the core-config data in the db and find the related payment configuration entry.

Hope this helps you.