#42884 closed defect (bug) (duplicate)
plugin.php on line 600
| Reported by: | traveltimingsin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Script Loader | Version: | 4.6 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
On my website, I'm seeing error below:
"Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /home/bots/public_html/traveltimings/wp-includes/plugin.php on line 600"
How to remove this, any steps?
Change History (4)
#2
@
9 years ago
- Resolution invalid
- Status closed → reopened
I've gotten that too on some older test installs of mine. It seems to be a PHP 7.1 problem that occurs when core runs the wp_default_styles and wp_default_script actions. In my case it was a 4.5.12 installation on 7.1.8.
Maybe @jrf @johnbillion or @pento can help fix that?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sadly this means that a plugin you're using is calling wp_default_styles incorrectly.
You'll want to start debugging by turning off all your plugins and see if it goes away.
If you need more help, please post in the forums here: https://wordpress.org/support/forum/how-to-and-troubleshooting/