Blank frontpage in customizer
-
Hi
On my many websites built by oceanwp, when I open customizer, my frontpage is shown blank except for header and footer.
This only happens on frontpage and only for content (not header and footer).
What can I do to fix this?
Thank you
-
Hi,
Please share the snapshot and the page URL to check the issue.
hi
here’s the snapshot: http://zite.ir/wp-content/uploads/2020/10/1.jpg
and the URL: https://tazebekhane.com/thank you very much
Hi,
Please try to update the theme and plugin to the latest version, clear the cache, and check.
Are you using a child theme or parent theme?
Would you be so kind and go to Elementor > System Info and copy/paste the report back to us so that we can take a look?
Sure!
I’m using a child theme, here’s the content of functions.php of my child theme:
<?php
/**
* Child theme functions
*
* When using a child theme (see http://codex.wordpress.org/Theme_Development
* and http://codex.wordpress.org/Child_Themes), you can override certain
* functions (those wrapped in a function_exists() call) by defining them first
* in your child theme’s functions.php file. The child theme’s functions.php
* file is included before the parent theme’s file, so the child theme
* functions would be used.
*
* Text Domain: oceanwp
* @link http://codex.wordpress.org/Plugin_API
*
*//**
* Load the parent style.css file
*
* @link http://codex.wordpress.org/Child_Themes
*/
function oceanwp_child_enqueue_parent_style() {
// Dynamically get version number of the parent stylesheet (lets browsers re-cache your stylesheet when you update your theme)
$theme = wp_get_theme( ‘OceanWP’ );
$version = $theme->get( ‘Version’ );
// Load the stylesheet
wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( ‘oceanwp-style’ ), $version );}
add_action( ‘wp_enqueue_scripts’, ‘oceanwp_child_enqueue_parent_style’ );//logo on login page
function my_login_logo_one() {
?>
<style type=”text/css”>
body.login div#login h1 a {
background-image: url(https://zite.ir/wp-content/uploads/2019/12/icon.png);
}
</style>
<?php
} add_action( ‘login_enqueue_scripts’, ‘my_login_logo_one’ );add_filter( ‘login_headerurl’, ‘my_custom_login_url’ );
function my_custom_login_url($url) {
return ‘https://zite.ir’;
}
function isacustom_wp_login_title() {
return ‘Powered by Zite.ir’;
}
add_filter(‘login_headertitle’, ‘isacustom_wp_login_title’);//START CODING
// Add custom font to font settings
function ocean_add_custom_fonts() {
return array( ‘Vazir’,’B Homa’ ); // You can add more than 1 font to the array!
}add_filter(‘ocean_woo_outofstock_text’, ‘out_of_stock_text’);
function out_of_stock_text($label) {$label = esc_html__( ‘تمام شد’, ‘oceanwp’ );
return $label;
}and here’s the system info:
== Server Environment ==
Operating System: Linux
Software: LiteSpeed
MySQL version: MySQL Community Server (GPL) v5.7.27
PHP Version: 7.3.21
PHP Max Input Vars: 1000
PHP Max Post Size: 128M
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected== WordPress Environment ==
Version: 5.5.1
Site URL: https://tazebekhane.com
Home URL: https://tazebekhane.com
WP Multisite: No
Max Upload Size: 128 مگابایت
Memory limit: 512M
Permalink Structure: /%postname%/
Language: fa-IR
Timezone: 3.5
Admin Email: info@zite.ir
Debug Mode: Inactive== Theme ==
Name: zite.ir
Version: 1.1
Author: Ali Golchin
Child Theme: Yes
Parent Theme Name: OceanWP
Parent Theme Version: 1.8.9
Parent Theme Author: Nick== User ==
Role: administrator
WP Profile lang: fa_IR
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.110 Safari/537.36== Active Plugins ==
Checkout Manager for WooCommerce
Version: 5.2.8
Author: QuadLayersCrisp
Version: 0.27
Author: CrispDIGITS: WordPress Mobile Number Signup and Login
Version: 7.3.3.2
Author: UnitedOver, ippanelElementor
Version: 3.0.8.1
Author: Elementor.comFARAZSMS WooCOMMERCE
Version: 1.0.0
Author: FARAZSMSGoogle XML Sitemaps
Version: 4.1.1
Author: AuctolloHead, Footer and Post Injections
Version: 3.2.1
Author: Stefano LissaHurryTimer
Version: 2.3.1
Author: Nabil LemsiehImagify
Version: 1.9.11
Author: WP MediaLoco Translate
Version: 2.4.3
Author: Tim WhitlockMW Font Changer
Version: 5.1
Author: GhaemOcean Extra
Version: 1.6.5
Author: OceanWPQuantities and Units for WooCommerce
Version: 1.0.13
Author: Nicholas VerwymerenQuantity Field on Shop Page for WooCommerce
Version: 1.3.0
Author: WooassistWC Cancel Order
Version: 3.0
Author: Vikram SWhatsApp Chat by NinjaTeam
Version: 2.2
Author: NinjaTeamWooCommerce
Version: 4.5.2
Author: AutomatticWoocommerce Delivery Time
Version: 3.0.0
Author: Mohammadreza BahreynipourWooLentor – WooCommerce Elementor Addons + Builder
Version: 1.7.0
Author: HasThemeswp-jalali
Version: 5.0.1
Author: Zakrot Web Solutions (in collaboration with WP-Persian team)WP Fastest Cache
Version: 0.9.1.0
Author: Emre VonaWP Statistics
Version: 12.6.13
Author: VeronaLabsافزونه پرداخت امن زرینپال برای ووکامرس
Version: 4.6.1
Author: Masoud Amini== Elements Usage ==
page : 2
button : 26
heading : 34
icon-list : 2
image-carousel : 3
shortcode : 3
spacer : 26
text-editor : 7
woolentor-universal-product : 1
section : 7
button : 5
heading : 8
image : 3
shortcode : 2
spacer : 3
text-editor : 6
wp-post :
icon : 1
wp-widget-ocean_custom_menu : 1
wp-page : 108
button : 92
heading : 197
icon-list : 1
image : 52
image-carousel : 2
shortcode : 99
spacer : 92
text-editor : 51
woolentor-universal-product : 2== Log ==
PHP: showing 3 of 3PHP: 2020-06-14 21:33:00 [notice X 2][/home/tazebekh/public_html\wp-content\plugins\elementor\includes\managers\image.php::88] Trying to access array offset on value of type bool [array (
‘trace’ => ‘
#0: Elementor\Core\Logger\Manager -> shutdown()
‘,
)]
PHP: 2020-10-27 21:31:44 [notice X 1][/home/tazebekh/public_html/wp-content/plugins/elementor/core/kits/documents/tabs/settings-layout.php::187] Undefined index: post_status [array (
‘trace’ => ‘
#0: Elementor\Core\Logger\Manager -> shutdown()
‘,
)]
PHP: 2020-10-28 14:50:04 [notice X 1][/home/tazebekh/public_html/wp-content/plugins/elementor/modules/usage/module.php::79] Undefined index: publish [array (
‘trace’ => ‘
#0: Elementor\Core\Logger\Manager -> shutdown()
‘,
)]JS: showing 2 of 2JS: 2020-06-15 20:35:56 [error X 1][https://tazebekhane.com/wp-admin/load-scripts.php?c=1&loadchunk_0=underscore,shortcode,utils,jquery-core,jquery-migrate,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload,jqu&loadchunk_1=ery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable&ver=5.4.2:10:30645] Cannot read property \'pageYOffset\' of undefined
JS: 2020-07-21 19:14:08 [error X 1][https://tazebekhane.com/wp-content/plugins/elementor/assets/js/editor.min.js?ver=2.9.13:31:153580] Cannot read property \'html\' of undefinedLog: showing 15 of 152020-06-19 09:30:19 [info] Elementor data updater process has been completed. [array (
‘plugin’ => ‘Elementor’,
‘from’ => ‘2.9.11’,
‘to’ => ‘2.9.12’,
)]
2020-06-28 20:23:09 [info] Elementor data updater process has been completed. [array (
‘plugin’ => ‘المنتور’,
‘from’ => ‘2.9.12’,
‘to’ => ‘2.9.13’,
)]
2020-09-15 20:39:25 [info] Elementor data updater process has been queued. [array (
‘plugin’ => ‘المنتور’,
‘from’ => ‘2.9.13’,
‘to’ => ‘3.0.8.1’,
)]
2020-09-15 20:39:27 [info] elementor::elementor_updater Started
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_general_settings_to_kit Start
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_general_settings_to_kit Finished
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_default_colors_to_kit Start
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_default_colors_to_kit Finished
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_saved_colors_to_kit Start
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_saved_colors_to_kit Finished
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_default_typography_to_kit Start
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_0_move_default_typography_to_kit Finished
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_5_re_move_space_between_widgets_to_kit Start
2020-09-15 20:39:27 [info] المنتور/Upgrades – _v_3_0_5_re_move_space_between_widgets_to_kit Finished
2020-09-15 20:39:27 [info] Elementor data updater process has been completed. [array (
‘plugin’ => ‘المنتور’,
‘from’ => ‘2.9.13’,
‘to’ => ‘3.0.8.1’,
)]Hi,
Try to switch to the parent theme and check it works or not. Have you added to content to the front page?
Thanks for your messages @abhikr781
I did what I had to do in the first place, turns out it was a plugin conflict with wp-jalali.
I appreciate your time and effort to help me with the issue.
Have a great time.Glad to hear that the issue has been fixed!😊
- The topic ‘Blank frontpage in customizer’ is closed to new replies.