Can't Access Customize Screen after 1.303
-
Hi again nobita,
I installed the 1.303 update on my Dev site and I can no longer access the Customize page under Appearance. It takes me to a blank page with just a spinning wheel and no options appear on the left-side menu.
I am running a child theme, so I tried switching the theme back to raindrops and the same thing occurs where the page never loads.
I tried switching to other themes and their Customize pages load properly so I think its isolated to the latest raindrops update.
-
Theme review rules was changed
I can not use theme options page. only customizer.
Please try adding the following variables to functions.php.
Then, you can be displayed<?php /* Add setting Start */ $raindrops_show_theme_option = true; /* Add setting End */ /** * functions and constants for Raindrops theme * * * @package Raindrops * @since Raindrops 0.1 */ if ( !defined( 'ABSPATH' ) ) { exit; }I tried adding that code into my functions.php but it still just hangs. I tried stripping everything out of the functions.php file except the code above and it hangs as well. Not sure if this issue is isolated to me or possibly theres a conflict with a plugin I have installed.
I, at some sites, but you have to check the customizer of the child theme, but they all work.
problems have not been reported so far, which is similar to this problem.
In the past, if use the customizer in the child theme, that take a long time to display, I have experienced.
If possible, customizer does not appear if you use a parent theme?
If possible, please tell me your WEB Site.
I switched back to the parent raindrops theme and disabled all of my plugins. It hangs with or without the code you provided above. Right now I’m testing on my dev site which isn’t accessible by internet, but I can open it up temporarily if you need to do some testing.
I know what you mean about a child theme’s customize page taking a long time to load but this one seems to hang forever. I get the left side frame that says You are customizing “Site Name” and the top menu bar with Basic Config and Preview Width but there’s no options on the left side and there’s just a spinning wheel where the page preview should be.
On my Prod site with raindrops version 1.302 and a child theme, the customize page loads pretty fast. My Dev site is a newly made clone so shouldn’t be much difference from the Prod site.
thank you for reply
this is diff of 1.302-1.303
https://github.com/tenman/raindrops/compare/1.302…1.303
You feel anything wrong?
my mail address here
I think it important to reproduce the problem share.
If possible, please try to send a child theme.
I want to try to test whether the problem recurs.
thank you for your patience
Hi Nobita,
I’m so sorry for wasting your time. To test I tried re-cloning my Prod site with Duplicator and the Customize page fails to load on both 1.302 and 1.303 versions.
I still am not sure what the issue is but it’s not isolated to the newest version of raindrops. I am able to bring up the customize page when I switch themes though. I’ll continue to research and see if I can find the cause.
I tested migrating the site to a new server and the customize page loads fine regardless of what raindrops version I’m on. The issue appears to happen if I duplicate the site and change the site URL. Is it possible there’s something in your theme that’s still trying to point to the old URL?
Hey
I just made a breakthrough. I figured out how to turn debugging on in wordpress. There’s a fatal error when loading the Customize page.
PHP Fatal error: Cannot use object of type WP_Error as array in /var/www/test.domain.com/wp-content/themes/raindrops/lib/customize.php on line 1840
Hi
Please try
Add lib/customize.php top
Only add from /* customize start */ to /* customize end */
<?php /* customize start */ class Raindrops_Customize_Changelog_Control extends WP_Customize_Control { public $type = 'changelog'; public function render_content() { echo '...'; } } /* customize end */ if ( !defined( 'ABSPATH' ) ) { exit; }Hi,
I added that code to the customize.php in the parent theme and it solves the issue. Should I create a customize.php in my child theme?
With a little change the code, and will operate in child theme / functions.php
if( class_exists( 'WP_Customize_Control') ) { class Raindrops_Customize_Changelog_Control extends WP_Customize_Control { public $type = 'changelog'; public function render_content() { echo '...'; } } }( add class exists check )
Raindrops theme, has the ability to display changelog.txt to customizer screen
Maybe, I think there is an error that failed to read the changelog.txt.
In the next version(1.307-), even if it is not possible to read the changelog.txt, and measures to prevent the error from occurring.
Thank you.
I removed the first code from customize.php and added in your new code to my child themes function.php and it still works.
Do you have a donations page?
Do you have a donations page?
I not have a page for money donation now.
If possible, please write a review.
And, this theme Please refer to the help of to win more people of trust
https://wordpress.org/support/view/theme-reviews/raindrops
Thank you.
The topic ‘Can't Access Customize Screen after 1.303’ is closed to new replies.
