- Please enable Debug mode and visit the blank page to see if any errors are there. Normally such blank pages show some errors on the page once we enable Debug mode.
I have set up a website for a client some month ago and today when checking the site I notice that the home page and other listing pages only show blank. Only the in the first language english (WPML) all pages show fine. When switching language all pages that use Views somewhere go blank.
If I check the source code, I can see that the source code in the blank pages differs and stops after the body tag:
...
<body class="home blog logged-in admin-bar no-customize-support"><div class="widget widget_nav_menu">
While the english version the code goes on like this...
Thank you for contacting Toolset Support. I can see the blank page issue at your site.
*** Please make a FULL BACKUP of your database and website.***
1. I noticed that you are using old version of Starter Theme. First I would suggest you to please update it to latest v1.3.9
2. Secondly, please enable Debug mode and visit the blank page to see if any errors are there. Normally such blank pages shows some errors on the page once we enable Debug mode.
Please note that you’ll see everything, not only related to our Plugins.
This will most likely include messages from other plugins, your theme and sometimes even WordPress core. The messages appear all over the place.
Sometimes they appear right on top, but they can also appear in the middle of the page.
I did what you said and set wp_debug to true and got this messages on the blank pages:
Index DE
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 12288 bytes) in /usr/www/users/scnofl/wp-content/plugins/sitepress-multilingual-cms/vendor/twig/twig/lib/Twig/Lexer.php on line 249
Agents:
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 72 bytes) in /usr/www/users/scnofl/wp-content/plugins/wpml-string-translation/classes/filters/db-cache/class-wpml-st-db-translation-retrieve.php on line 171
Houses Listings
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 32 bytes) in /usr/www/users/scnofl/wp-includes/wp-db.php on line 1841
Apartement Listings:
Fatal error: Allowed memory size of 100663296 bytes exhausted (tried to allocate 65552 bytes) in /usr/www/users/scnofl/wp-includes/shortcodes.php on line 477
So what I did was to add: define('WP_MEMORY_LIMIT', '256M'); to my config file and this seams to have solved it.
I also updated starter theme to latest version hoping a problem I had since the last update was solved but sadly it still exists 🙁 May be you could tell me why this is happening...
Please look at the menu when it has changed to mobile view. The Menu icon is not floated right and the opening menu is way to narrow. This happened after updating from v1.3.6 to v1.3.7.
I think I also found the solution for the menu problem. Inspecting the elements I noticed that the style for the .col-sm-9 container was missing for the mobile screen width so I added following code to my child themes css file which helped: