Opened 7 years ago
Closed 4 years ago
#41713 closed defect (bug) (invalid)
Some PHP Warning in /wp-includes/functions.php
Reported by: | xpeed | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.8.1 |
Component: | General | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
I have updated our theme and when I check my error log. I found this error related to WordPress core file.
PHP Warning: strstr() expects parameter 1 to be string, object given in /public_html/wp-includes/functions.php on line 785 PHP Warning: stripos() expects parameter 1 to be string, object given in public_html/wp-includes/functions.php on line 790 PHP Warning: stripos() expects parameter 1 to be string, object given in public_html/wp-includes/functions.php on line 793 PHP Warning: strpos() expects parameter 1 to be string, object given in public_html/wp-includes/functions.php on line 800 PHP Warning: explode() expects parameter 2 to be string, object given in public_html/wp-includes/functions.php on line 801
Change History (3)
#2
@
7 years ago
- Keywords reporter-feedback added
Hey there,
Thanks for your report.
Just because the warning happened in wp-includes/functions.php
doesn't mean it's a bug in WordPress. This sounds more like theme or a plugin you're using does use add_query_arg()
in a wrong way, passing an object instead of a string. Please try deactivating all plugins and switching to one of the default themes to see if the error still happens.
Note: See
TracTickets for help on using
tickets.
Sorry I have updated Wordpress version 4.8.1, not theme.