[wp-trac] [WordPress Trac] #30802: General settings menu isn't opened.
WordPress Trac
noreply at wordpress.org
Sun Dec 21 04:34:52 UTC 2014
#30802: General settings menu isn't opened.
--------------------------+-----------------------------
Reporter: hyoseop | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
After upgrading to 4.1, I can't open General menu in Settings. When I
click General menu, the server don't reply. The file of this menu is
options-general.php. And below is the path of tracing a reason.
wp-admin/options-general.php
- 356 : wp_can_install_language_pack()
wp-admin/include/translation-install.php
- 233 : fs_connect( array( WP_CONTENT_DIR, WP_LANG_DIR ) )
wp-admin/include/class-wp-upgrader.php
- 193 : $wp_filesystem->find_folder($dir)
wp-admin/include/class-wp-filesystem-base.php
- 273 : search_for_folder($folder)
- 293 : trailingslashit($this->cwd()); ====> $this->cwd() is defined to
return false always at 525 line.
- 1661 : untrailingslashit( $string ) . '/';
- 1667 : rtrim( $string, '/\\' ); ====> $string isn't string.
It is boolean value 'false'.
I can't find where rtrim is defined. But it is clear rtrim must have a
string variable as first input. In this case, rtrim gets boolean value
'false' as $string. This makes server blocked. If I remove this
function(This means skipping this.), the general settings screen is shown
properly. And I don't know why a boolean value is given as a first string
variable.
Why rtrim gets a boolean value as a first string variable?
If it is a root reason, how do I fix this problem?
If you want to see the problem, visit here.
http://칭기즈칸.한국/
And general settings path is below.
http://칭기즈칸.한국/wp-admin/options-general.php
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30802>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list