[wp-trac] [WordPress Trac] #23555: Fatal error when sunrise added
WordPress Trac
noreply at wordpress.org
Wed Feb 20 09:18:07 UTC 2013
#23555: Fatal error when sunrise added
-----------------------------+--------------------------
Reporter: Rahe | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Multisite
Version: 3.5.1 | Severity: normal
Keywords: |
-----------------------------+--------------------------
Hi,
I have installed a WordPress multisite subdomains on a server. I have
added a sunrise.php file on the wp-content folder.
In this file there is a $wpdb->prepare without the needed argument at the
end. WordPress throw a _doing_it_wrong() but this launch a Fatal error :
{{{
Fatal error: Call to undefined function __() in /home/site/public_html/wp-
includes/functions.php
}}}
{{{
Call Stack:
0.0001 335660 1. {main}() /home/site/public_html/wp-
admin/network/settings.php:0
0.0001 335964 2. require_once('/home/site/public_html/wp-
admin/network/admin.php') /home/site/public_html/wp-
admin/network/settings.php:11
0.0001 336260 3. require_once('/home/site/public_html/wp-
admin/admin.php') /home/site/public_html/wp-admin/network/admin.php:13
0.0002 336564 4. require_once('/home/site/public_html/wp-
load.php') /home/site/public_html/wp-admin/admin.php:30
0.0002 337136 5. require_once('/home/site/public_html/wp-
config.php') /home/site/public_html/wp-load.php:29
0.0002 337500 6. require('/home/site/public_html/wp-config-
dev.php') /home/site/public_html/wp-config.php:6
0.0003 339004 7. require_once('/home/site/public_html/wp-
settings.php') /home/site/public_html/wp-config-dev.php:109
0.0037 791980 8. require('/home/site/public_html/wp-includes/ms-
settings.php') /home/site/public_html/wp-settings.php:87
0.0038 793784 9. include_once('/home/site/public_html/wp-
content/sunrise.php') /home/site/public_html/wp-includes/ms-
settings.php:18
0.0039 795552 10. wpdb->prepare() /home/site/public_html/wp-
content/sunrise.php:41
0.0039 795872 11. _doing_it_wrong() /home/site/public_html/wp-
includes/wp-db.php:995
}}}
Is this normal that the translations function are not available ?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23555>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list