cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.1 Shows blank white screen

SOLVED

Magento 2.3.1 Shows blank white screen

Hi All,

Facing issue in core module Magento_Paypal, Working on Magento 2.3.1, While going to configure the payment in my site it shows me a blank white page. Issue occurs on

Stores -> Configuration -> Sales -> Payment Configration.

 

Blank page error by clicking the Payment MethodsBlank page error by clicking the Payment Methods

Blank white page it shows when we click Payment methods under sales tab.

Disabling the Paypal modules shows me the following page result.

Running smooth after disabled Paypal in site.Running smooth after disabled Paypal in site.

This is my local where i can get the page without disabling the paypal module,

Local Paypal EnabledLocal Paypal Enabled

Attached log files, Please help me to resolve this, As Soon As Possible.

[2019-05-11 11:15:53] main.INFO: Item Magento_Backend::system_currency was removed [] []
[2019-05-11 11:15:53] main.INFO: Item Snmportal_Base::topmenu was updated [] []
[2019-05-11 11:15:53] main.INFO: Item Snmportal_Base::settings was updated [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_AdminNotification::system_adminnotification was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Theme::design_config was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Theme::system_design_theme was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Variable::system_variable was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id CloudFlare_Plugin::cloudflare_plugin was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Indexer::system_index was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_design_schedule was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_store was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::dashboard was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_tools was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_design was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_convert was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_cache was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::marketing was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::marketing_communications was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::marketing_seo was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::marketing_user_content was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::content was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::content_elements was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::stores was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::stores_settings was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::stores_attributes was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::other_settings was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::system_other_settings was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Backend::setup_wizard was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Emthemes_Settings::em0144_settings was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Customer::customer was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Customer::customer_manage was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Customer::customer_online was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Customer::customer_group was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Cms::cms_page was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Cms::cms_block was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Widget::cms_widget_instance was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Emthemes_ProductLabels::productlabels was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Emthemes_ProductLabels::product_labels was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Catalog::catalog was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Catalog::catalog_products was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Catalog::catalog_categories was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Catalog::catalog_attributes_attributes was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Catalog::catalog_attributes_sets was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Catalog::inventory was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magento_Config::system_config was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magefan_Blog::elements was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magefan_Blog::post was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magefan_Blog::category was processed [] []
[2019-05-11 11:15:53] main.INFO: Add of item with id Magefan_Blog::comment was processed [] []

Attached my system.log file, Please help us to resolve this issue.

 

Thanks in Advance.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

 

View solution in original post

13 REPLIES 13

Re: Magento 2.3.1 Shows blank white screen

Hello @rbalamuruga 

 

it is happen due to env.php file encryption key change.

 

There are two solutions for that

1) use the same encryption  key

2) go to core_config_data into db and find record related payment config

select * from core_config_data where path like '%payment%'

remove such a record related key or otherwise delete all from above key and do cache flush and try it.

 

If the help you then mark as a solution.

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento 2.3.1 Shows blank white screen

Hello @Sunil Patel 

Thanks for your answer, But still i didn't resolve it. Cleared payment related entries in db, and Both are having same keys, as in my live as well as in local. Can you please have any more ideas to resolve this?

Re: Magento 2.3.1 Shows blank white screen

Hello @rbalamuruga 

 

have you did cache after removing the entry.

 

 

Try to enable error msg

 

app/bootstrap.php
ini_set('display_errors', 1); 

enable it and open the page again and check page source and check any error showing

 

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento 2.3.1 Shows blank white screen

Page Source

.highlighted { background-color: #DFF7FF!important;<br> }
action="http://m2.kixnstix.com/admin/admin/system_config/save/key/d7e1374468f6bc948eafe132ce86a72a4c29cc0b11..."
method="post" id="config-edit-form" enctype="multipart/form-data">

/>



ini_set('display_errors',1); set as is as previously, but still we
have no luck to get the error message.

Re: Magento 2.3.1 Shows blank white screen

Hi@rbalamuruga,

Please look once at browser console and network tab.

May be you got any clue or error like 500 or 302.


Re: Magento 2.3.1 Shows blank white screen

Hi @Vimal Kumar

There isn't any error available in console and network tab, it also seems
to be empty.

Re: Magento 2.3.1 Shows blank white screen

@rbalamuruga 
what is your current deployment mode?
Following thing you can do for debug:
- please check in development mode after error_reporting enable
- check magento logs and server log, may be you got some clue there
- deploy all commands again in the sequence.

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

May be it will help.

Good Luck!

Re: Magento 2.3.1 Shows blank white screen

Hello @Vimal Kumar 

Currently I'm in developer mode, error_reporting already enabled, Checked logs and in console and network also still i found nothing.

Re: Magento 2.3.1 Shows blank white screen

Hello @Vimal Kumar

While running composer update I've received the following error.

 

Fatal error: Uncaught TypeError: Return value of Magento\InventoryComposerInstaller\Plugin::initModuleDeployment() must be an instance of Magento\InventoryComposerInstaller\void, none returned in /home/m2kixnstix/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php:69
Stack trace:
#0 [internal function]: Magento\InventoryComposerInstaller\Plugin->initModuleDeployment(Object(Composer\Script\Event))
#1 phar:///opt/cpanel/composer/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(176): call_user_func(Array, Object(Composer\Script\Event))
#2 phar:///opt/cpanel/composer/bin/composer/src/Composer/EventDispatcher/EventDispatcher.php(96): Composer\EventDispatcher\EventDispatcher->doDispatch(Object(Composer\Script\Event))
#3 phar:///opt/cpanel/composer/bin/composer/src/Composer/Installer.php(204): Composer\EventDispatcher\EventDispatcher->dispatchScript('pre-update-cmd', true)
#4 phar:///opt/cpanel/composer/bin/composer/src/Composer/Command/UpdateCommand.php(162): Composer\Installer->run()
#5 phar:/// in /home/m2kixnstix/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php on line 69

 

Hope it will help us to solve this issue.

php Version: 7.2.18

Composer Version: 1.7.2

Magento Version: 2.3.1