[wp-trac] Re: [WordPress Trac] #7409: Typo in wp-config file in
fr_FR, triggers errors on site
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 25 16:42:31 GMT 2008
#7409: Typo in wp-config file in fr_FR, triggers errors on site
----------------------------+-----------------------------------------------
Reporter: lionel_chollet | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6.1
Component: General | Version: 2.6
Severity: normal | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Changes (by lionel_chollet):
* summary: Typo in wp-config file, triggers errors on site => Typo in
wp-config file in fr_FR, triggers errors on
site
Comment:
Replying to [ticket:7409 lionel_chollet]:
> Typo in config file, triggering errors on user's site, in WordPress 2.6,
file wp-config-sample.php, line 7:
>
> define('DB_CHARSET', 'utf8');
>
> triggers the following errors when wp-config-sample.php is renamed wp-
config.php:
>
> Warning: array_keys() [function.array-keys]: The first argument
> should be an array in /[wordpress_directory]/wp-includes/widgets.php on
line 686
>
> Warning: Invalid argument supplied for foreach() in
/[wordpress_directory]/wp-includes/widgets.php on
> line 686
>
> plus a fatal error with Search-Unleashed, on my site:
>
> Fatal error: Cannot use string offset as an array in
/[wordpress_directory]/wp-content/plugins/search-
> unleashed/search-unleashed.php on line 602
>
>
> Corrected line 7:
>
> define('DB_CHARSET', 'utf-8');
>
> solves the errors.
>
--
Ticket URL: <http://trac.wordpress.org/ticket/7409#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list