trim() expects parameter 1 to be string, array given in
-
Hi, lately I am getting a “request error” on my wordpress site, when I checked my error log, I got this error, many times.
PHP Warning: trim() expects parameter 1 to be string, array given in /public_html/wp-includes/option.php on line 33
Line 33 is
30 function get_option( $option, $default = false ) {
31 global $wpdb;
32
33 $option = trim( $option );
34 if ( empty( $option ) ) {
35 return false;
36 }function get_option( $option, $default = false ) {
global $wpdb;$option = trim( $option );
if ( empty( $option ) ) {
return false;
}Can you please help me with this?
Thank You.
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘trim() expects parameter 1 to be string, array given in’ is closed to new replies.